You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2010/08/28 17:22:09 UTC

svn commit: r990383 - /maven/maven-3/trunk/pom.xml

Author: bentmann
Date: Sat Aug 28 15:22:09 2010
New Revision: 990383

URL: http://svn.apache.org/viewvc?rev=990383&view=rev
Log:
o Added animal-sniffer-maven-plugin to enforce Java 1.5 runtime compat

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

Modified: maven/maven-3/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/maven-3/trunk/pom.xml?rev=990383&r1=990382&r2=990383&view=diff
==============================================================================
--- maven/maven-3/trunk/pom.xml (original)
+++ maven/maven-3/trunk/pom.xml Sat Aug 28 15:22:09 2010
@@ -448,6 +448,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>