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

pottlinger pushed a commit to branch feature/RAT-369
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


The following commit(s) were added to refs/heads/feature/RAT-369 by this push:
     new c807a4d0 RAT-369: Improve docs about why we do not fail the build and 
have empty exclusion files
c807a4d0 is described below

commit c807a4d0aa5f21d44b7317e9ac2e83c2bcb9d861
Author: P. Ottlinger <pottlin...@apache.org>
AuthorDate: Sun May 5 15:46:18 2024 +0200

    RAT-369: Improve docs about why we do not fail the build and have empty 
exclusion files
---
 pom.xml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 5d69c392..fbdcbe39 100644
--- a/pom.xml
+++ b/pom.xml
@@ -315,10 +315,11 @@ agnostic home for software distribution comprehension and 
audit tools.
           <artifactId>spotbugs-maven-plugin</artifactId>
           <version>4.8.4.0</version>
           <configuration>
-            <!-- TODO remove after RAT-369 is done -->
+            <!-- RAT-369: as spotbugs does not allow setting a global 
(numeric) threshold of currently accepted errors/bugs we do not fail the build 
-->
             <failOnError>false</failOnError>
             <!-- we only want to see our own problems and in all subpackages 
-->
             <onlyAnalyze>org.apache.rat.-</onlyAnalyze>
+            <!-- in order to have a global spotbugs configuration an exclusion 
file needs to exist in all submodules -->
             
<excludeFilterFile>${basedir}/spotbugs_ignore.xml</excludeFilterFile>
             <plugins>
               <plugin>

Reply via email to