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 2009/09/06 23:17:09 UTC

svn commit: r811892 - in /maven/plugins/trunk/maven-pmd-plugin: pom.xml src/it/multi-module/pom.xml src/it/settings.xml

Author: olamy
Date: Sun Sep  6 21:17:08 2009
New Revision: 811892

URL: http://svn.apache.org/viewvc?rev=811892&view=rev
Log:
enable it for maven 3

Modified:
    maven/plugins/trunk/maven-pmd-plugin/pom.xml
    maven/plugins/trunk/maven-pmd-plugin/src/it/multi-module/pom.xml
    maven/plugins/trunk/maven-pmd-plugin/src/it/settings.xml

Modified: maven/plugins/trunk/maven-pmd-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/pom.xml?rev=811892&r1=811891&r2=811892&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/pom.xml Sun Sep  6 21:17:08 2009
@@ -63,6 +63,7 @@
   <properties>
     <mavenVersion>2.0.6</mavenVersion>
     <doxiaVersion>1.0</doxiaVersion>
+    <sitePluginVersion>2.0.1</sitePluginVersion>
   </properties>
 
   <dependencies>
@@ -204,5 +205,17 @@
         </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>
+      <properties>
+        <sitePluginVersion>3.0-beta-1-SNAPSHOT</sitePluginVersion>
+      </properties>
+    </profile>    
   </profiles>
 </project>

Modified: maven/plugins/trunk/maven-pmd-plugin/src/it/multi-module/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/it/multi-module/pom.xml?rev=811892&r1=811891&r2=811892&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/it/multi-module/pom.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/it/multi-module/pom.xml Sun Sep  6 21:17:08 2009
@@ -46,7 +46,7 @@
     <plugins>
       <plugin>
         <artifactId>maven-site-plugin</artifactId>
-        <version>2.0-beta-7</version>
+        <version>@sitePluginVersion@</version>
       </plugin>
     </plugins>
   </build>
@@ -55,7 +55,7 @@
     <plugins>
       <plugin>
         <artifactId>maven-project-info-reports-plugin</artifactId>
-        <version>2.0.1</version>
+        <version>2.1.2</version>
         <reportSets>
           <reportSet>
             <reports>

Modified: maven/plugins/trunk/maven-pmd-plugin/src/it/settings.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/it/settings.xml?rev=811892&r1=811891&r2=811892&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/it/settings.xml (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/it/settings.xml Sun Sep  6 21:17:08 2009
@@ -40,7 +40,7 @@
         <repository>
           <id>apache.snapshots</id>
           <name>Apache Snapshot Repository</name>
-          <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+          <url>http://repository.apache.org/content/groups/snapshots/</url>
           <releases>
             <enabled>false</enabled>
           </releases>
@@ -60,6 +60,17 @@
             <enabled>true</enabled>
           </snapshots>
         </pluginRepository>
+        <pluginRepository>
+          <id>apache.snapshots</id>
+          <name>Apache Snapshot Repository</name>
+          <url>http://repository.apache.org/content/groups/snapshots/</url>
+          <releases>
+            <enabled>false</enabled>
+          </releases>
+          <snapshots>
+            <enabled>true</enabled>
+          </snapshots>
+        </pluginRepository>        
       </pluginRepositories>
     </profile>
   </profiles>