You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2014/09/30 16:35:41 UTC

svn commit: r1628458 - /commons/proper/bcel/trunk/pom.xml

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>