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-logging.git

commit 6f066e7b679ccd162a9f21414a79e36ffc259c77
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Feb 28 08:25:17 2025 -0500

    Fix running spotbugs:check
    
    [ERROR] Failed to execute goal
    com.github.spotbugs:spotbugs-maven-plugin:4.9.1.0:spotbugs (spotbugs) on
    project commons-logging: Unable to parse configuration of mojo
    com.github.spotbugs:spotbugs-maven-plugin:4.9.1.0:spotbugs for parameter
    scope: Cannot find 'scope' in class
    org.codehaus.mojo.spotbugs.PluginArtifact -> [Help 1]
---
 pom.xml                 | 43 +++++++++++++++++++++----------------------
 src/changes/changes.xml |  1 +
 2 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/pom.xml b/pom.xml
index 2102e43..9d8a197 100644
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@ under the License.
   <parent>
     <groupId>org.apache.commons</groupId>
     <artifactId>commons-parent</artifactId>
-    <version>81</version>
+    <version>82-SNAPSHOT</version>
   </parent>
   <modelVersion>4.0.0</modelVersion>
   <groupId>commons-logging</groupId>
@@ -479,17 +479,16 @@ under the License.
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-          <configuration>
-            
<excludeFilterFile>src/conf/spotbugs-excludes.xml</excludeFilterFile>
-            <plugins>
-              <plugin>
-                <groupId>com.h3xstream.findsecbugs</groupId>
-                <artifactId>findsecbugs-plugin</artifactId>
-                <version>${findsecbugs.version}</version>
-                <scope>test</scope>
-              </plugin>
-            </plugins>
-          </configuration>
+        <configuration>
+          <excludeFilterFile>src/conf/spotbugs-excludes.xml</excludeFilterFile>
+          <plugins>
+            <plugin>
+              <groupId>com.h3xstream.findsecbugs</groupId>
+              <artifactId>findsecbugs-plugin</artifactId>
+              <version>${findsecbugs.version}</version>
+            </plugin>
+          </plugins>
+        </configuration>
       </plugin>
       <!-- Ban Commons Logging clones. -->
       <plugin>
@@ -633,16 +632,16 @@ under the License.
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-          <configuration>
-            
<excludeFilterFile>src/conf/spotbugs-excludes.xml</excludeFilterFile>
-              <plugins>
-                <plugin>
-                  <groupId>com.h3xstream.findsecbugs</groupId>
-                  <artifactId>findsecbugs-plugin</artifactId>
-                  <version>${findsecbugs.version}</version>
-                </plugin>
-              </plugins>
-          </configuration>
+        <configuration>
+          <excludeFilterFile>src/conf/spotbugs-excludes.xml</excludeFilterFile>
+            <plugins>
+              <plugin>
+                <groupId>com.h3xstream.findsecbugs</groupId>
+                <artifactId>findsecbugs-plugin</artifactId>
+                <version>${findsecbugs.version}</version>
+              </plugin>
+            </plugins>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index ad18976..ede8b84 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -47,6 +47,7 @@ The <action> type attribute can be add,update,fix,remove.
   <body>
     <release version="1.3.6" date="YYYY-MM-DD" description="This is a feature 
and maintenance release. Java 8 or later is required.">
       <!-- FIX -->
+      <action dev="ggregory" type="fix" due-to="Gary Gregory">Fix running 
spotbugs:check: Unable to parse configuration of mojo.</action>
       <!-- ADD -->
       <!-- UPDATE -->
       <action dev="ggregory" type="update" due-to="Gary Gregory, 
Dependabot">Bump org.slf4j:slf4j-api from 2.0.16 to 2.0.17 #344.</action>

Reply via email to