Author: sebb
Date: Fri Jan  9 20:59:13 2015
New Revision: 1650663

URL: http://svn.apache.org/r1650663
Log:
Trial implementation of animal-sniffer

Modified:
    commons/proper/net/trunk/pom.xml

Modified: commons/proper/net/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/net/trunk/pom.xml?rev=1650663&r1=1650662&r2=1650663&view=diff
==============================================================================
--- commons/proper/net/trunk/pom.xml (original)
+++ commons/proper/net/trunk/pom.xml Fri Jan  9 20:59:13 2015
@@ -139,6 +139,8 @@ Supported protocols include: Echo, Finge
     <properties>
         <maven.compiler.source>1.5</maven.compiler.source>
         <maven.compiler.target>1.5</maven.compiler.target>
+        <!-- ensure the signature version agrees with the compiler version 
above -->
+        <animal-sniffer.signature>java15</animal-sniffer.signature>
         
<commons.javadoc.java.link>http://download.oracle.com/javase/1.5.0/docs/api/</commons.javadoc.java.link>
         <commons.componentid>net</commons.componentid>
         <commons.release.version>${project.version}</commons.release.version>
@@ -364,6 +366,30 @@ Supported protocols include: Echo, Finge
         </configuration>
       </plugin>
 
+            <!-- Temporary location until parent pom updated -->
+
+            <plugin>
+              <groupId>org.codehaus.mojo</groupId>
+              <artifactId>animal-sniffer-maven-plugin</artifactId>
+              <version>1.13</version>
+              <executions>
+                <execution>
+                  <id>checkAPIcompatibility</id>
+                  <phase>test</phase>
+                  <goals>
+                    <goal>check</goal>
+                  </goals>
+                </execution>
+              </executions>
+              <configuration>
+                <signature>
+                  <groupId>org.codehaus.mojo.signature</groupId>
+                  <artifactId>${animal-sniffer.signature}</artifactId>
+                  <version>1.0</version>
+                </signature>
+              </configuration>
+            </plugin>
+
         </plugins>
 
     </build>


Reply via email to