Author: olamy
Date: Wed Jan 11 13:49:07 2012
New Revision: 1230038

URL: http://svn.apache.org/viewvc?rev=1230038&view=rev
Log:
use filtering to not having plugin version hardcoded

Modified:
    tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml
    
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml

Modified: tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml?rev=1230038&r1=1230037&r2=1230038&view=diff
==============================================================================
--- tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml (original)
+++ tomcat/maven-plugin/trunk/tomcat-maven-archetype/pom.xml Wed Jan 11 
13:49:07 2012
@@ -37,7 +37,7 @@
 
   <properties>
     <archetypeVersion>2.2</archetypeVersion>
-    <pluginVersion>${project.version}</pluginVersion>
+    <tomcatPluginVersion>${project.version}</tomcatPluginVersion>
   </properties>
   <build>
 

Modified: 
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml?rev=1230038&r1=1230037&r2=1230038&view=diff
==============================================================================
--- 
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
 (original)
+++ 
tomcat/maven-plugin/trunk/tomcat-maven-archetype/src/main/resources/archetype-resources/pom.xml
 Wed Jan 11 13:49:07 2012
@@ -46,12 +46,12 @@
         <plugin>
           <groupId>org.apache.tomcat.maven</groupId>
           <artifactId>tomcat6-maven-plugin</artifactId>
-          <version>2.0-SNAPSHOT</version>
+          <version>${tomcatPluginVersion}</version>
         </plugin>
         <plugin>
           <groupId>org.apache.tomcat.maven</groupId>
           <artifactId>tomcat7-maven-plugin</artifactId>
-          <version>2.0-SNAPSHOT</version>
+          <version>${tomcatPluginVersion}</version>
         </plugin>
       </plugins>
     </pluginManagement>



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to