Skip to content
Permalink
Browse files
Update docs
git-svn-id: https://svn.apache.org/repos/asf/directory/samples/trunk@706554 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Felix Knecht committed Oct 21, 2008
1 parent fa28a6c commit b9df9a0b1385d88a1f02b23f7e8eee0bd986d4be
Showing 1 changed file with 21 additions and 9 deletions.
@@ -25,10 +25,10 @@
~~ http://maven.apache.org/doxia/references/apt-format.html


ApacheDS Archetype Plugin
ApacheDS-Webapp Archetype

The ApacheDS Archetype Plugin allows the user to create a webapp project
with an embed ApacheDS.
The ApacheDS-Webapp Archetype generates a WebApplication (war) project skeleton
with an embedded ApacheDS.


* Usage
@@ -42,12 +42,24 @@ mvn archetype:generate \
-Dversion=1.0-SNAPSHOT \
-DarchetypeGroupId=org.apache.directory.samples \
-DarchetypeArtifactId=apacheds-webapp \
-DarchetypeVersion=1.0-SNAPSHOT
-DarchetypeVersion=1.0-SNAPSHOT \
-DarchetypeRepository=http://vm094.oxylos.org/mirror-maven2/
+---

or

+---
mvn archetype:generate -DarchetypeCatalog=http://directory.apache.org -DarchetypeRepository=http://vm094.oxylos.org/mirror-maven2/
+---

or
\
Then change to the created directory (myProject by default) and run the created webapp

mvn archetype:generate -DarchetypeCatalog=http://directory.apache.org
+---
cd myProject
mvn jetty:run
+---

Add the maven remote repository when you don't want to build the plugin yourself
-DarchetypeRepository=http://vm094.oxylos.org/mirror-maven2/
+---
and point your browser to {{http://localhost:8080/ApacheDS/RootDse}}.

For more information see also the {{{http://cwiki.apache.org/confluence/display/DIRxSRVx11/Embedding+ApacheDS+as+a+Web+Application}wiki page}}.

0 comments on commit b9df9a0

Please sign in to comment.