Author: sebb
Date: Mon Sep  5 23:35:07 2011
New Revision: 1165454

URL: http://svn.apache.org/viewvc?rev=1165454&view=rev
Log:
With release of 3.0, can now share site plugin between M2 and M3

Modified:
    commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1165454&r1=1165453&r2=1165454&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Mon Sep  5 23:35:07 2011
@@ -429,7 +429,7 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
-        <version>2.2</version>
+        <version>3.0</version>
         <configuration>
           <!-- Exclude the navigation file for Maven 1 sites
                and the changes file used by the changes-plugin,
@@ -802,10 +802,10 @@
       </modules>
     </profile>
 
-       <!-- 
-         Use maven-site-plugin 2.x with Maven 2.x and maven-site-plugin 3.x 
with Maven 3.x  
-         See 
http://maven.apache.org/plugins/maven-site-plugin-3.0-beta-3/maven-3.html 
-       -->
+    <!-- 
+        Configure site plugin to support both Maven2 and Maven3, see:
+        
http://maven.apache.org/plugins/maven-site-plugin/maven-3.html#Using_the_same_version_of_maven-site-plugin_for_both_Maven_2_and_Maven_3
+    -->
     <profile>
       <id>maven-3</id>
       <activation>
@@ -815,15 +815,6 @@
         </file>
       </activation>
       <build>
-        <pluginManagement>
-          <plugins>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-site-plugin</artifactId>
-              <version>3.0-beta-3</version>
-            </plugin>
-          </plugins>
-        </pluginManagement>
         <plugins>
           <plugin>
             <artifactId>maven-site-plugin</artifactId>


Reply via email to