You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2014/10/12 10:00:33 UTC

git commit: [SUREFIRE-1105] Surefire build should check Java 1.5 API signatures with JDK version > 5

Repository: maven-surefire
Updated Branches:
  refs/heads/master 080aa5f61 -> 5c793434a


[SUREFIRE-1105] Surefire build should check Java 1.5 API signatures with JDK version > 5


Project: http://git-wip-us.apache.org/repos/asf/maven-surefire/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-surefire/commit/5c793434
Tree: http://git-wip-us.apache.org/repos/asf/maven-surefire/tree/5c793434
Diff: http://git-wip-us.apache.org/repos/asf/maven-surefire/diff/5c793434

Branch: refs/heads/master
Commit: 5c793434a61d957f304d2af481701ab00cc3e6e3
Parents: 080aa5f
Author: tibordigana <ti...@lycos.com>
Authored: Sun Oct 12 00:05:02 2014 +0200
Committer: tibordigana <ti...@lycos.com>
Committed: Sun Oct 12 00:05:02 2014 +0200

----------------------------------------------------------------------
 pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-surefire/blob/5c793434/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 6c5efa3..ef0e009 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,6 +250,26 @@
           <version>2.5.1</version>
         </plugin>
         <plugin>
+          <groupId>org.codehaus.mojo</groupId>
+          <artifactId>animal-sniffer-maven-plugin</artifactId>
+          <version>1.11</version>
+          <executions>
+            <execution>
+              <id>signature-check</id>
+              <goals>
+                <goal>check</goal>
+              </goals>
+            </execution>
+          </executions>
+          <configuration>
+            <signature>
+              <groupId>org.codehaus.mojo.signature</groupId>
+              <artifactId>java15</artifactId>
+              <version>1.0</version>
+            </signature>
+          </configuration>
+        </plugin>
+        <plugin>
           <artifactId>maven-surefire-plugin</artifactId>
           <version>${shadedVersion}</version>
           <configuration>
@@ -306,6 +326,12 @@
         </plugin>
       </plugins>
     </pluginManagement>
+    <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>animal-sniffer-maven-plugin</artifactId>
+      </plugin>
+    </plugins>
   </build>
 
   <reporting>