commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1628458 - /commons/proper/bcel/trunk/pom.xml
Date Tue, 30 Sep 2014 14:35:41 GMT
Author: ggregory
Date: Tue Sep 30 14:35:41 2014
New Revision: 1628458

URL: http://svn.apache.org/r1628458
Log:
Run FindBugs 3.0.0 if running on Java 7, use 2.5.5 otherwise.

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

Modified: commons/proper/bcel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/bcel/trunk/pom.xml?rev=1628458&r1=1628457&r2=1628458&view=diff
==============================================================================
--- commons/proper/bcel/trunk/pom.xml (original)
+++ commons/proper/bcel/trunk/pom.xml Tue Sep 30 14:35:41 2014
@@ -55,6 +55,7 @@
     <commons.osgi.private />
     <commons.jira.id>BCEL</commons.jira.id>
     <commons.jira.pid>12314220</commons.jira.pid>
+    <findbugs.plugin.version>2.5.5</findbugs.plugin.version>
   </properties>
 
   <!-- Cannot be added to Commons Parent, see https://issues.apache.org/jira/browse/COMMONSSITE-26
-->
@@ -283,7 +284,7 @@
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>findbugs-maven-plugin</artifactId>
-        <version>2.5.4</version>
+        <version>${findbugs.plugin.version}</version>
         <configuration>
           <fork>true</fork>
           <jvmArgs>-Duser.language=en</jvmArgs>
@@ -337,4 +338,16 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>jdk7</id>
+      <activation>
+        <jdk>[1.7,)</jdk>
+      </activation>
+      <properties>
+        <findbugs.plugin.version>3.0.0</findbugs.plugin.version>
+      </properties>
+    </profile>
+  </profiles>
+  
 </project>



Mime
View raw message