fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [08/17] incubator-fluo git commit: Put findbugs config in properties to ease override
Date Wed, 03 Aug 2016 21:31:41 GMT
Put findbugs config in properties to ease override


Project: http://git-wip-us.apache.org/repos/asf/incubator-fluo/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-fluo/commit/82a8c3fb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo/tree/82a8c3fb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo/diff/82a8c3fb

Branch: refs/heads/build-resources
Commit: 82a8c3fbf4695bb0b2402a3a9de839f691228c52
Parents: e4e9fc4
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Thu Feb 25 15:04:23 2016 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Thu Feb 25 15:04:23 2016 -0500

----------------------------------------------------------------------
 pom.xml | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/82a8c3fb/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 1cf6da6..a8b2d94 100644
--- a/pom.xml
+++ b/pom.xml
@@ -54,6 +54,10 @@
   <properties>
     <checkstyle.config>src/main/resources/io/fluo/build-resources/java-checkstyle.xml</checkstyle.config>
     <extraReleaseArguments />
+    <findbugs.effort>Max</findbugs.effort>
+    <findbugs.includeTests>true</findbugs.includeTests>
+    <findbugs.maxRank>16</findbugs.maxRank>
+    <findbugs.xmlOutput>true</findbugs.xmlOutput>
     <formatter.config>src/main/resources/io/fluo/build-resources/eclipse-formatter.xml</formatter.config>
     <gpg.useagent>true</gpg.useagent>
     <maven.compiler.source>1.7</maven.compiler.source>
@@ -280,14 +284,6 @@
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>findbugs-maven-plugin</artifactId>
           <version>3.0.3</version>
-          <configuration>
-            <xmlOutput>true</xmlOutput>
-            <effort>Max</effort>
-            <failOnError>true</failOnError>
-            <includeTests>true</includeTests>
-            <maxRank>16</maxRank>
-            <excludeFilterFile>src/main/findbugs/exclude-filter.xml</excludeFilterFile>
-          </configuration>
         </plugin>
         <plugin>
           <groupId>org.gaul</groupId>
@@ -501,6 +497,17 @@
       </build>
     </profile>
     <profile>
+      <id>use-findbugs-filters</id>
+      <activation>
+        <file>
+          <exists>src/main/findbugs/exclude-filter.xml</exists>
+        </file>
+      </activation>
+      <properties>
+        <findbugs.excludeFilterFile>src/main/findbugs/exclude-filter.xml</findbugs.excludeFilterFile>
+      </properties>
+    </profile>
+    <profile>
       <id>m2e</id>
       <activation>
         <property>


Mime
View raw message