Author: sebb
Date: Fri Jan 16 01:28:43 2015
New Revision: 1652325

URL: http://svn.apache.org/r1652325
Log:
Document issue with Animal Sniffer Java version
Add property to allow version to be overridden

Modified:
    commons/proper/commons-parent/trunk/pom.xml

Modified: commons/proper/commons-parent/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/commons/proper/commons-parent/trunk/pom.xml?rev=1652325&r1=1652324&r2=1652325&view=diff
==============================================================================
--- commons/proper/commons-parent/trunk/pom.xml (original)
+++ commons/proper/commons-parent/trunk/pom.xml Fri Jan 16 01:28:43 2015
@@ -39,6 +39,8 @@ Version 37:
 - Adjust Maven prerequisite 3.0 -> 3.0.1 as required by Findbugs
 - Update Maven Project Info Reports Plugin : 2.7 => 2.8
 - merged maven-3 profile into main body (Maven 2 is no longer supported)
+- added Animal Sniffer plugin in profile "animal-sniffer". This is active by 
default.
+  Unfortunately the current version of the plugin (1.13) requires Java 7 to 
report API violations
 
  -->
 
@@ -795,7 +797,7 @@ Version 37:
             <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>
@@ -1404,6 +1406,7 @@ Version 37:
     <commons.compiler.version>3.2</commons.compiler.version>
     <commons.scm-publish.version>1.1</commons.scm-publish.version>
     <commons.findbugs.version>2.5.5</commons.findbugs.version>
+    <commons.animal-sniffer.version>1.13</commons.animal-sniffer.version>
 
     <!-- Default values for the download-page generation by 
commons-build-plugin -->
     
<commons.release.name>${project.artifactId}-${commons.release.version}</commons.release.name>


Reply via email to