This requires Maven to be installed on the PC. This is by far the easiest way to get up and running.
- Download or clone the Git repository from OpenNTF's Stash. You can use the menu options in the left-hand sidebar. Cloning the repo via e.g. SourceTree will enable you to pull down any updates.
- Open up a command line prompt and change directories to the "maven-archetype" folder of your local repository.
- Issue the
mvn install
command. This will install the archetype in your local Maven repository. - Create a folder into which to create an instance of the archetype.
- Issue the
mvn archetype:generate -DarchetypeCatalog=local
command. This will search your local repository for any Maven archetypes from which to generate a project. - Choose the number of the
org.openntf.domino.demoServlet:parent-archetype
archetype. Define the relevant properties for your new Maven project (see above for explanation), e.g.
groupId: com.paulwithers.myServlet artifactId: myServlet version: 0.0.5 package: com.paulwithers.myServlet contextRoot: myServletPathInURL odaVersion: 3.2.1 url-pattern: /rest/*
- Change directory to the
parent
directory. - Issue the
mvn install
command to build the plugin and update site. The full update site project will be in a zip file in "update/target/site_assembly.zip", ready to be installed on the server.