You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2008/10/20 13:38:51 UTC

svn commit: r706243 - /directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/archetype-resources/pom.xml

Author: felixk
Date: Mon Oct 20 04:38:51 2008
New Revision: 706243

URL: http://svn.apache.org/viewvc?rev=706243&view=rev
Log:
Add jetty plugin for immediate run.
This makes you able to create a new project via archetype and start it immediately just by cd to the created project and type 'mvn jetty:run' and your done (point your browser to http://localhost:8080/ApacheDS/RootDse).

Modified:
    directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/archetype-resources/pom.xml

Modified: directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/archetype-resources/pom.xml?rev=706243&r1=706242&r2=706243&view=diff
==============================================================================
--- directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/archetype-resources/pom.xml (original)
+++ directory/sandbox/felixk/embed-apacheds-archetype/src/main/resources/archetype-resources/pom.xml Mon Oct 20 04:38:51 2008
@@ -39,6 +39,24 @@
           <target>1.5</target>
         </configuration>
       </plugin>
+      
+      <!--
+        For more configuration options see also
+        http://docs.codehaus.org/display/JETTY/Maven+Jetty+Plugin
+       -->
+      <plugin>
+        <artifactId>maven-jetty-plugin</artifactId>
+        <groupId>org.mortbay.jetty</groupId>
+        <version>6.1.10</version>
+        <configuration>
+          <contextPath>/ApacheDS</contextPath>
+          <connectors>
+            <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
+              <port>8080</port>
+            </connector>
+          </connectors>
+        </configuration>
+      </plugin>
     </plugins>
   </build>