Author: lukaszlenart Date: Fri May 31 07:01:22 2013 New Revision: 1488113 URL: http://svn.apache.org/r1488113 Log: WW-4087 Adds log4j dependency to example apps
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=1488113&r1=1488112&r2=1488113&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 Fri May 31 07:01:22 2013 @@ -40,6 +40,12 @@ </dependency> <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.17</version> + </dependency> + + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.5</version> @@ -84,7 +90,7 @@ <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> <webAppConfig> - <contextPath>/struts2-blank</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=1488113&r1=1488112&r2=1488113&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 Fri May 31 07:01:22 2013 @@ -46,6 +46,12 @@ </dependency> <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.17</version> + </dependency> + + <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.5</version> @@ -98,7 +104,7 @@ <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> <webAppConfig> - <contextPath>/struts2-convention</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=1488113&r1=1488112&r2=1488113&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 Fri May 31 07:01:22 2013 @@ -69,6 +69,18 @@ <version>1.3</version> </dependency> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.1.3</version> + </dependency> + + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.17</version> + </dependency> + <!-- Dwr --> <dependency> <groupId>uk.ltd.getahead</groupId> @@ -107,7 +119,7 @@ <scanIntervalSeconds>10</scanIntervalSeconds> <webAppSourceDirectory>\${basedir}/src/main/webapp/</webAppSourceDirectory> <webAppConfig> - <contextPath>/struts2-showcase</contextPath> + <contextPath>\${artifactId}</contextPath> <descriptor>\${basedir}/src/main/webapp/WEB-INF/web.xml</descriptor> </webAppConfig> </configuration>