Author: sebb
Date: Fri Jan 16 01:51:31 2015
New Revision: 1652327

URL: http://svn.apache.org/r1652327
Log:
Allow for broken Animal Sniffer 1.13

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=1652327&r1=1652326&r2=1652327&view=diff
==============================================================================
--- commons/proper/net/trunk/pom.xml (original)
+++ commons/proper/net/trunk/pom.xml Fri Jan 16 01:51:31 2015
@@ -150,6 +150,8 @@ Supported protocols include: Echo, Finge
         <commons.release.2.desc>(Requires Java 1.3 or 
later)</commons.release.2.desc>
         <commons.jira.id>NET</commons.jira.id>
         <commons.jira.pid>12310487</commons.jira.pid>
+        <!-- TODO Remove when updating to CP37 -->
+        <commons.animal-sniffer.version>1.11</commons.animal-sniffer.version>
     </properties>
 
     <build>
@@ -479,6 +481,19 @@ Supported protocols include: Echo, Finge
         </properties>
       </profile>
 
+      <!-- TODO Remove when updating to CP37 -->
+      <profile>
+        <id>jdk7-plugin-fixes</id>
+        <activation>
+          <jdk>[1.7,)</jdk>
+        </activation>
+        <properties>
+          <!-- Current latest version requires Java 7 when running Maven -->
+          <commons.animal-sniffer.version>1.13</commons.animal-sniffer.version>
+        </properties>
+      </profile>
+
+      <!-- TODO Remove when updating to CP37 -->
       <profile>
         <id>animal-sniffer</id>
         <activation>
@@ -519,11 +534,10 @@ Supported protocols include: Echo, Finge
             <plugin>
               <groupId>org.codehaus.mojo</groupId>
               <artifactId>animal-sniffer-maven-plugin</artifactId>
-              <version>1.13</version>
+              <version>${commons.animal-sniffer.version}</version>
               <executions>
                 <execution>
                   <id>checkAPIcompatibility</id>
-                  <phase>test</phase>
                   <goals>
                     <goal>check</goal>
                   </goals>


Reply via email to