Hi Stefan > I thought about changing the same "embed-apacheds-archetype" to > something with either "sample" or "webapp" in it in order to reflect > that this is not the only way to embed it, but only one (simple) option. > > But if it located in svn somewhere beneath a samples directory, it > would be sufficient. > > Are all these parameters > > mvn archetype:generate -DgroupId=org.example \ > -DartifactId=myProject \ > -Dversion=1.0-SNAPSHOT \ > -DarchetypeGroupId=org.apache.directory \ > -DarchetypeArtifactId=embed-apacheds-archetype \ > -DarchetypeVersion=1.0-SNAPSHOT > > mandatory or is it possible to provide defaults for some of them (for > instance groupId, artifactId) in order to make the example even more > easy to build?
The archetype is now on the CI server. You can create a new project and run it with following steps: mvn archetype:generate -DarchetypeCatalog=http://vm094.oxylos.org/ -DarchetypeRepository=http://vm094.oxylos.org/mirror-maven2/ (choose '1' and hit <Enter> for all other questions) cd myProject mvn jetty:run and your done. You can point your browser to http://localhost:8080/ApacheDS/RootDse to see your servlet working. The 2 properties -Darchetype... are still needed because the archetype isn't yet registered in the main archetype-catalog for maven and because the archetype artifact isn't released on repo1.maven.org. Regards Felix
