Author: jmitchell Date: Mon Oct 16 19:18:34 2006 New Revision: 464770 URL: http://svn.apache.org/viewvc?view=rev&rev=464770 Log: STR-2899 Update README to show how to run via Jetty plugin, added Jetty config, moved version to 1.3.6-SNAPSHOT
Modified: struts/maven/trunk/struts-archetype-blank/README.txt struts/maven/trunk/struts-archetype-blank/pom.xml struts/maven/trunk/struts-archetype-blank/src/main/resources/archetype-resources/pom.xml Modified: struts/maven/trunk/struts-archetype-blank/README.txt URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-archetype-blank/README.txt?view=diff&rev=464770&r1=464769&r2=464770 ============================================================================== --- struts/maven/trunk/struts-archetype-blank/README.txt (original) +++ struts/maven/trunk/struts-archetype-blank/README.txt Mon Oct 16 19:18:34 2006 @@ -13,7 +13,7 @@ -DarchetypeVersion=<version> \ -DgroupId=com.example \ -DpackageName=com.example.projectname \ - -DartifactId=projectname + -DartifactId=my-webapp If <version> ends in -SNAPSHOT, use the snapshot repo: -DremoteRepositories=http://people.apache.org/maven-snapshot-repository @@ -22,6 +22,14 @@ $ cd my-webapp $ mvn install + + +To start run the new webapp inplace via Jetty plugin: + + $ mvn jetty:run + + Browse to http://localhost:8080/my-webapp/ + To start Tomcat and deploy your new webapp: Modified: struts/maven/trunk/struts-archetype-blank/pom.xml URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-archetype-blank/pom.xml?view=diff&rev=464770&r1=464769&r2=464770 ============================================================================== --- struts/maven/trunk/struts-archetype-blank/pom.xml (original) +++ struts/maven/trunk/struts-archetype-blank/pom.xml Mon Oct 16 19:18:34 2006 @@ -10,7 +10,7 @@ </parent> <groupId>org.apache.struts</groupId> <artifactId>struts-archetype-blank</artifactId> - <version>1.3.5-SNAPSHOT</version> + <version>1.3.6-SNAPSHOT</version> <packaging>jar</packaging> <name>Struts Archetypes - Blank</name> Modified: struts/maven/trunk/struts-archetype-blank/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/maven/trunk/struts-archetype-blank/src/main/resources/archetype-resources/pom.xml?view=diff&rev=464770&r1=464769&r2=464770 ============================================================================== --- struts/maven/trunk/struts-archetype-blank/src/main/resources/archetype-resources/pom.xml (original) +++ struts/maven/trunk/struts-archetype-blank/src/main/resources/archetype-resources/pom.xml Mon Oct 16 19:18:34 2006 @@ -78,8 +78,23 @@ </configuration> </configuration> </plugin> - </plugins> - </build> + <plugin> + <artifactId>maven-compiler-plugin</artifactId> + <configuration> + <source>1.5</source> + <target>1.5</target> + </configuration> + </plugin> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>maven-jetty-plugin</artifactId> + <version>6.0.1</version> + <configuration> + <scanIntervalSeconds>10</scanIntervalSeconds> + </configuration> + </plugin> + </plugins> + </build> <!-- Uncomment in order to use Apache's Maven 2 snapshot repository <repositories> @@ -92,5 +107,7 @@ </repository> </repositories> --> + + </project>