This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git


The following commit(s) were added to refs/heads/master by this push:
     new ca11ae53 Add SpotBugs to the default goal
ca11ae53 is described below

commit ca11ae53fd3635538e0bb6d35360b1ece0b590f7
Author: Gary David Gregory (Code signing key) <ggreg...@apache.org>
AuthorDate: Tue Nov 15 09:24:51 2022 -0500

    Add SpotBugs to the default goal
    
    Don't let the number of issues grow from the current 15
---
 pom.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 23dac6bd..66f8a15d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -220,7 +220,7 @@
   </scm>
 
   <build>
-    <defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check 
pmd:check javadoc:javadoc</defaultGoal>
+    <defaultGoal>clean verify apache-rat:check japicmp:cmp checkstyle:check 
pmd:check spotbugs:check javadoc:javadoc</defaultGoal>
     <plugins>
       <plugin>
         <groupId>org.apache.felix</groupId>
@@ -348,6 +348,8 @@
           <threshold>Normal</threshold>
           <effort>Default</effort>
           
<excludeFilterFile>src/conf/spotbugs-exclude-filter.xml</excludeFilterFile>
+          <!-- Hacky: Don't add issues, we have 15 now --> 
+          <maxAllowedViolations>15</maxAllowedViolations>
         </configuration>
       </plugin>
       <plugin>

Reply via email to