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/08/07 21:07:11 UTC

svn commit: r983289 - /maven/site/trunk/pom.xml

Author: olamy
Date: Sat Aug  7 19:07:11 2010
New Revision: 983289

URL: http://svn.apache.org/viewvc?rev=983289&view=rev
Log:
add profile to be able to run site mojo with maven 3

Modified:
    maven/site/trunk/pom.xml

Modified: maven/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/pom.xml?rev=983289&r1=983288&r2=983289&view=diff
==============================================================================
--- maven/site/trunk/pom.xml (original)
+++ maven/site/trunk/pom.xml Sat Aug  7 19:07:11 2010
@@ -439,5 +439,25 @@
         </plugins>
       </reporting>
     </profile>
+    <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>
+      <build>
+        <pluginManagement>
+          <plugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-site-plugin</artifactId>
+              <version>3.0-beta-1-SNAPSHOT</version>
+            </plugin>
+          </plugins>
+        </pluginManagement>
+      </build>
+    </profile>    
   </profiles>
 </project>