Author: lukaszlenart Date: Sat Oct 23 19:13:05 2010 New Revision: 1026664 URL: http://svn.apache.org/viewvc?rev=1026664&view=rev Log: Instead hard coded project versiob used ${project.version}
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-dbportlet/src/main/resources/archetype-resources/pom.xml struts/struts2/trunk/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml struts/struts2/trunk/archetypes/struts2-archetype-portlet/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=1026664&r1=1026663&r2=1026664&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 Sat Oct 23 19:13:05 2010 @@ -9,7 +9,7 @@ <name>Struts 2 Blank Webapp</name> <properties> - <struts2.version>2.1.8.1</struts2.version> + <struts2.version>${project.version}</struts2.version> </properties> <dependencies> 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=1026664&r1=1026663&r2=1026664&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 Sat Oct 23 19:13:05 2010 @@ -9,7 +9,7 @@ <name>Struts 2 Blank Convention Webapp</name> <properties> - <struts2.version>2.1.8.1</struts2.version> + <struts2.version>${project.version}</struts2.version> </properties> <dependencies> Modified: struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml?rev=1026664&r1=1026663&r2=1026664&view=diff ============================================================================== --- struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetypes/struts2-archetype-dbportlet/src/main/resources/archetype-resources/pom.xml Sat Oct 23 19:13:05 2010 @@ -11,7 +11,7 @@ <description>Struts 2 Database Portlet</description> <properties> - <struts2.version>2.1.8.1</struts2.version> + <struts2.version>${project.version}</struts2.version> </properties> <dependencies> Modified: struts/struts2/trunk/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml?rev=1026664&r1=1026663&r2=1026664&view=diff ============================================================================== --- struts/struts2/trunk/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetypes/struts2-archetype-plugin/src/main/resources/archetype-resources/pom.xml Sat Oct 23 19:13:05 2010 @@ -13,7 +13,7 @@ <dependency> <groupId>org.apache.struts</groupId> <artifactId>struts2-core</artifactId> - <version>2.1.8.1</version> + <version>${project.version}</version> </dependency> <dependency> Modified: struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml URL: http://svn.apache.org/viewvc/struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml?rev=1026664&r1=1026663&r2=1026664&view=diff ============================================================================== --- struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml (original) +++ struts/struts2/trunk/archetypes/struts2-archetype-portlet/src/main/resources/archetype-resources/pom.xml Sat Oct 23 19:13:05 2010 @@ -10,7 +10,7 @@ <version>${version}</version> <properties> - <struts2.version>2.1.8.1</struts2.version> + <struts2.version>${project.version}</struts2.version> </properties> <dependencies> 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=1026664&r1=1026663&r2=1026664&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 Sat Oct 23 19:13:05 2010 @@ -1,4 +1,4 @@ -<?xml version="1.0" encoding="UTF-8"?> +<?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> @@ -11,7 +11,7 @@ <description>Struts 2 Starter</description> <properties> - <struts2.version>2.1.8.1</struts2.version> + <struts2.version>${project.version}</struts2.version> </properties> <dependencies>