Author: tommaso
Date: Thu Mar 12 09:35:41 2015
New Revision: 1666107

URL: http://svn.apache.org/r1666107
Log:
OAK-2612 - made findbugs version jdk dependent (2.5.5 for 6, 3.0.0 for 7+)

Modified:
    jackrabbit/oak/trunk/oak-parent/pom.xml

Modified: jackrabbit/oak/trunk/oak-parent/pom.xml
URL: 
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-parent/pom.xml?rev=1666107&r1=1666106&r2=1666107&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-parent/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-parent/pom.xml Thu Mar 12 09:35:41 2015
@@ -59,6 +59,7 @@
     <slf4j.version>1.7.6</slf4j.version> <!-- sync with logback version -->
     <logback.version>1.1.0</logback.version>
     <h2.version>1.4.182</h2.version>
+    <findbugs.version>3.0.0</findbugs.version>
 
    <!-- specifies on which fixture to run the integration testing tests. 
       override in profiles or provide from command line to change behaviour. 
Provide 
@@ -207,7 +208,6 @@
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>findbugs-maven-plugin</artifactId>
-            <version>2.5.3</version>
           </plugin>
         <!-- This plugin's configuration is used to store Eclipse m2e      -->
         <!-- settings only. It has no influence on the Maven build itself. -->
@@ -525,6 +525,7 @@
           <plugin>
             <groupId>org.codehaus.mojo</groupId>
             <artifactId>findbugs-maven-plugin</artifactId>
+            <version>${findbugs.version}</version>
             <configuration>
               <failOnError>false</failOnError>
             </configuration>
@@ -636,5 +637,15 @@
         <skip.coverage>false</skip.coverage>
       </properties>
     </profile>
+
+    <profile>
+      <id>findbugs-jdk6</id>
+      <activation>
+        <jdk>1.6</jdk>
+      </activation>
+      <properties>
+        <findbugs.version>2.5.5</findbugs.version>
+      </properties>
+    </profile>
   </profiles>
 </project>


Reply via email to