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 2010/09/24 16:43:44 UTC

svn commit: r1000888 - /maven/plugins/trunk/maven-plugins/pom.xml

Author: olamy
Date: Fri Sep 24 14:43:44 2010
New Revision: 1000888

URL: http://svn.apache.org/viewvc?rev=1000888&view=rev
Log:
add a maven-3 profile to be able to use maven 3 for site generation.
FIXME add this in the maven parent pom

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

Modified: maven/plugins/trunk/maven-plugins/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-plugins/pom.xml?rev=1000888&r1=1000887&r2=1000888&view=diff
==============================================================================
--- maven/plugins/trunk/maven-plugins/pom.xml (original)
+++ maven/plugins/trunk/maven-plugins/pom.xml Fri Sep 24 14:43:44 2010
@@ -185,6 +185,16 @@ under the License.
         <artifactId>maven-plugin-plugin</artifactId>
         <version>2.6</version>
       </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+        <version>2.6</version>
+      </plugin> 
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-javadoc-plugin</artifactId>
+        <version>2.7</version>
+      </plugin>            
     </plugins>
   </reporting>
 
@@ -222,7 +232,7 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-javadoc-plugin</artifactId>
-            <version>2.5</version>
+            <version>2.7</version>
             <configuration>
               <tagletArtifacts>
                 <tagletArtifact>
@@ -241,5 +251,30 @@ under the License.
         </plugins>
       </reporting>
     </profile>
+    <!-- FIXME add this in the maven parent -->
+    <profile>
+      <id>maven-3</id>
+      <activation>
+        <file>
+          <!-- This employs that the basedir expression is only recognized by Maven 3.x (see MNG-2363) -->
+          <exists>${basedir}</exists>
+        </file>
+      </activation>
+      <properties>
+        <sitePluginVersion>3.0-beta-2</sitePluginVersion>
+      </properties>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-site-plugin</artifactId>
+              <version>${sitePluginVersion}</version>
+            </plugin>          
+          </plugins>
+        </pluginManagement>
+      </build>
+                  
+    </profile>     
   </profiles>
 </project>