fluo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject [05/13] incubator-fluo git commit: Move findbugs settings to props for easy override
Date Thu, 30 Jun 2016 17:37:47 GMT
Move findbugs settings to props for easy 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/e647f47e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-fluo/tree/e647f47e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-fluo/diff/e647f47e

Branch: refs/heads/fluo-parent
Commit: e647f47e06ef636d1a1f3b501709b96cc7e9ace4
Parents: 6484e7e
Author: Christopher Tubbs <ctubbsii@apache.org>
Authored: Thu Feb 25 14:02:25 2016 -0500
Committer: Christopher Tubbs <ctubbsii@apache.org>
Committed: Thu Feb 25 14:02:25 2016 -0500

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


http://git-wip-us.apache.org/repos/asf/incubator-fluo/blob/e647f47e/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 0207498..a2e86a4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,6 +55,10 @@
     <build-resources.version>1.0.0</build-resources.version>
     <checkstyle.config>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>io/fluo/build-resources/eclipse-formatter.xml</formatter.config>
     <gpg.useagent>true</gpg.useagent>
     <maven.compiler.source>1.7</maven.compiler.source>
@@ -294,14 +298,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>
@@ -515,6 +511,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