You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2012/07/12 18:34:26 UTC

svn commit: r1360799 - /maven/plugins/trunk/maven-stage-plugin/pom.xml

Author: olamy
Date: Thu Jul 12 16:34:26 2012
New Revision: 1360799

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

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

Modified: maven/plugins/trunk/maven-stage-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-stage-plugin/pom.xml?rev=1360799&r1=1360798&r2=1360799&view=diff
==============================================================================
--- maven/plugins/trunk/maven-stage-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-stage-plugin/pom.xml Thu Jul 12 16:34:26 2012
@@ -55,6 +55,7 @@ under the License.
   <properties>
     <wagonVersion>1.0-beta-3</wagonVersion>
     <mavenVersion>2.0.10</mavenVersion>
+    <mavenPluginVersion>3.1</mavenPluginVersion>
   </properties>
 
   <dependencies>
@@ -81,7 +82,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>
     <dependency>
       <groupId>org.apache.maven.wagon</groupId>
@@ -133,17 +135,13 @@ under the License.
     <pluginManagement>
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-plugin-plugin</artifactId>
-          <version>3.1</version>
+          <version>${mavenPluginVersion}</version>
           <configuration>
             <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
           </configuration>
         </plugin>
-        <plugin>
-          <groupId>org.apache.maven.plugins</groupId>
-          <artifactId>maven-site-plugin</artifactId>
-          <version>2.0</version>
-        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
@@ -183,6 +181,16 @@ under the License.
     </plugins>
   </build>
 
+  <reporting>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-plugin-plugin</artifactId>
+        <version>${mavenPluginVersion}</version>
+      </plugin>
+    </plugins>
+  </reporting>
+
   <profiles>
     <profile>
       <id>run-its</id>