directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <>
Subject Re: Embedding ApacheDS as a Web Application
Date Mon, 20 Oct 2008 14:38:02 GMT
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 \
> \
>    -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=
  (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


View raw message