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

michaelo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/velocity-engine.git

commit 9ca652c9ccdc45aa41111dda26e840f8d055a1eb
Author: Michael Osipov <[email protected]>
AuthorDate: Tue Jul 30 20:04:29 2024 +0200

    Replace defunct FindBugs with SpotBugs
---
 velocity-engine-core/pom.xml                                   | 10 +++++-----
 .../etc/build/{findbugs-exclude.xml => spotbugs-exclude.xml}   |  3 +--
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/velocity-engine-core/pom.xml b/velocity-engine-core/pom.xml
index 1fe6fba3..ab44cf81 100644
--- a/velocity-engine-core/pom.xml
+++ b/velocity-engine-core/pom.xml
@@ -261,15 +261,15 @@
     <reporting>
         <plugins>
             <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>findbugs-maven-plugin</artifactId>
-                <version>3.0.5</version>
+                <groupId>com.github.spotbugs</groupId>
+                <artifactId>spotbugs-maven-plugin</artifactId>
+                <version>4.8.6.0</version>
                 <configuration>
                     <xmlOutput>true</xmlOutput>
                     <threshold>Low</threshold>
                     <effort>Max</effort>
-                    
<excludeFilterFile>src/etc/build/findbugs-exclude.xml</excludeFilterFile>
-                    <xmlOutputDirectory>target/site</xmlOutputDirectory>
+                    
<excludeFilterFile>src/etc/build/spotbugs-exclude.xml</excludeFilterFile>
+                    
<xmlOutputDirectory>${project.reporting.outputDirectory}</xmlOutputDirectory>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/velocity-engine-core/src/etc/build/findbugs-exclude.xml 
b/velocity-engine-core/src/etc/build/spotbugs-exclude.xml
old mode 100755
new mode 100644
similarity index 97%
rename from velocity-engine-core/src/etc/build/findbugs-exclude.xml
rename to velocity-engine-core/src/etc/build/spotbugs-exclude.xml
index ed4a7fbb..482c64a7
--- a/velocity-engine-core/src/etc/build/findbugs-exclude.xml
+++ b/velocity-engine-core/src/etc/build/spotbugs-exclude.xml
@@ -18,8 +18,7 @@
     under the License.
 
 -->
-<!-- TODO: We should be putting findBugs exclusions -->
-<!-- as annotations in the source code. But that takes JDK 1.5+. -->
+<!-- TODO: We should be putting SpotBugs exclusions as annotations in the 
source code. -->
 
 <FindBugsFilter>
 

Reply via email to