Author: olamy
Date: Thu Jul 12 16:30:15 2012
New Revision: 1360766

URL: http://svn.apache.org/viewvc?rev=1360766&view=rev
Log:
move plugin version to a property and plugins annotations in compile scope

Modified:
    maven/plugins/trunk/maven-changelog-plugin/pom.xml

Modified: maven/plugins/trunk/maven-changelog-plugin/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/plugins/trunk/maven-changelog-plugin/pom.xml?rev=1360766&r1=1360765&r2=1360766&view=diff
==============================================================================
--- maven/plugins/trunk/maven-changelog-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-changelog-plugin/pom.xml Thu Jul 12 16:30:15 2012
@@ -133,6 +133,7 @@ under the License.
     <doxiaVersion>1.0</doxiaVersion>
     <mavenVersion>2.0.6</mavenVersion>
     <sitePluginVersion>3.0</sitePluginVersion>
+    <mavenPluginVersion>3.1</mavenPluginVersion>
   </properties>
 
   <dependencies>
@@ -160,7 +161,8 @@ under the License.
     <dependency>
       <groupId>org.apache.maven.plugin-tools</groupId>
       <artifactId>maven-plugin-annotations</artifactId>
-      <version>3.1</version>
+      <version>${mavenPluginVersion}</version>
+      <scope>compile</scope>
     </dependency>
 
     <!-- shared -->
@@ -320,7 +322,7 @@ under the License.
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
-          <version>3.1</version>
+          <version>${mavenPluginVersion}</version>
           <configuration>
             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
           </configuration>
@@ -352,6 +354,11 @@ under the License.
         <artifactId>maven-changelog-plugin</artifactId>
         <version>2.2</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-plugin-plugin</artifactId>
+        <version>${mavenPluginVersion}</version>
+      </plugin>
     </plugins>
   </reporting>
 


Reply via email to