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 2011/08/27 15:26:11 UTC

svn commit: r1162346 - /maven/scm/trunk/maven-scm-plugin/pom.xml

Author: olamy
Date: Sat Aug 27 13:26:11 2011
New Revision: 1162346

URL: http://svn.apache.org/viewvc?rev=1162346&view=rev
Log:
upgrade plugins parent and add animal sniffer 1.5 check in the plugin too

Modified:
    maven/scm/trunk/maven-scm-plugin/pom.xml

Modified: maven/scm/trunk/maven-scm-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/scm/trunk/maven-scm-plugin/pom.xml?rev=1162346&r1=1162345&r2=1162346&view=diff
==============================================================================
--- maven/scm/trunk/maven-scm-plugin/pom.xml (original)
+++ maven/scm/trunk/maven-scm-plugin/pom.xml Sat Aug 27 13:26:11 2011
@@ -25,7 +25,7 @@
   <parent>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-plugins</artifactId>
-    <version>19</version>
+    <version>22</version>
     <relativePath>../../plugins/maven-plugins/pom.xml</relativePath>
   </parent>
 
@@ -175,7 +175,7 @@
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-surefire-plugin</artifactId>
-          <version>2.8</version>
+          <version>2.9</version>
           <configuration>
             <systemProperties>
               <property>
@@ -187,6 +187,29 @@
         </plugin>
       </plugins>
     </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>animal-sniffer-maven-plugin</artifactId>
+        <version>1.6</version>
+        <configuration>
+          <signature>
+            <groupId>org.codehaus.mojo.signature</groupId>
+            <artifactId>java15</artifactId>
+            <version>1.0</version>
+          </signature>
+        </configuration>
+        <executions>
+          <execution>
+            <id>check-java-1.5-compat</id>
+            <phase>process-classes</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
   </build>
 
   <profiles>