You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2014/02/24 00:32:49 UTC

svn commit: r1571117 - /maven/pom/trunk/asf/pom.xml

Author: hboutemy
Date: Sun Feb 23 23:32:49 2014
New Revision: 1571117

URL: http://svn.apache.org/r1571117
Log:
use maven-scm-publish-plugin 1.0 only when running Maven 3, stay with 1.0-beta-2 for Maven 2

Modified:
    maven/pom/trunk/asf/pom.xml

Modified: maven/pom/trunk/asf/pom.xml
URL: http://svn.apache.org/viewvc/maven/pom/trunk/asf/pom.xml?rev=1571117&r1=1571116&r2=1571117&view=diff
==============================================================================
--- maven/pom/trunk/asf/pom.xml (original)
+++ maven/pom/trunk/asf/pom.xml Sun Feb 23 23:32:49 2014
@@ -60,7 +60,7 @@ under the License.
   </mailingLists>
 
   <prerequisites><!-- just for information: not inherited in child poms -->
-    <maven>3.0</maven><!-- prerequisite of maven-scm-publish-plugin -->
+    <maven>2.2.1</maven><!-- prerequisite of some plugins -->
   </prerequisites>
 
   <scm>
@@ -225,7 +225,7 @@ under the License.
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-scm-publish-plugin</artifactId>
-          <version>1.0</version>
+          <version>1.0-beta-2</version>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
@@ -373,6 +373,15 @@ under the License.
         </file>
       </activation>
       <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-scm-publish-plugin</artifactId>
+              <version>1.0</version>
+            </plugin>
+          </plugins>
+        </pluginManagement>
         <plugins>
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>