Author: jogep Date: Thu Nov 21 18:18:52 2013 New Revision: 1544276 URL: http://svn.apache.org/r1544276 Log: WW-4247: jetty-maven-plugin configuration problem in struts2-archetype-blank
Modified: struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml Modified: struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml?rev=1544276&r1=1544275&r2=1544276&view=diff ============================================================================== --- struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetypes/struts2-archetype-blank/src/main/resources/archetype-resources/pom.xml Thu Nov 21 18:18:52 2013 @@ -91,7 +91,7 @@ <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> <webAppConfig> - <contextPath>\${artifactId}</contextPath> + <contextPath>/\${artifactId}</contextPath> <descriptor>\${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> </webAppConfig> </configuration> Modified: struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml?rev=1544276&r1=1544275&r2=1544276&view=diff ============================================================================== --- struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetypes/struts2-archetype-convention/src/main/resources/archetype-resources/pom.xml Thu Nov 21 18:18:52 2013 @@ -105,7 +105,7 @@ <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> <webAppConfig> - <contextPath>\${artifactId}</contextPath> + <contextPath>/\${artifactId}</contextPath> <descriptor>\${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> </webAppConfig> </configuration> Modified: struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml?rev=1544276&r1=1544275&r2=1544276&view=diff ============================================================================== --- struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetypes/struts2-archetype-starter/src/main/resources/archetype-resources/pom.xml Thu Nov 21 18:18:52 2013 @@ -120,7 +120,7 @@ <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> <webAppConfig> - <contextPath>\${artifactId}</contextPath> + <contextPath>/\${artifactId}</contextPath> <descriptor>\${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> </webAppConfig> </configuration>