You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2021/06/28 14:49:08 UTC

[commons-parent] branch master updated: Add SpotBugs to plugin management section.

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


The following commit(s) were added to refs/heads/master by this push:
     new 9b100e9  Add SpotBugs to plugin management section.
9b100e9 is described below

commit 9b100e918f4f9197900267ba622be01d57f208e6
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jun 28 10:49:05 2021 -0400

    Add SpotBugs to plugin management section.
---
 pom.xml                 | 14 +++++++++++++-
 src/changes/changes.xml |  1 +
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index ebd3ded..6c2801c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -189,7 +189,7 @@
     -->
     <commons.site-plugin.version>3.9.1</commons.site-plugin.version>
     <commons.source-plugin.version>3.2.1</commons.source-plugin.version>
-    <commons.spotbugs.version>4.2.3</commons.spotbugs.version>
+    <commons.spotbugs.plugin.version>4.2.3</commons.spotbugs.plugin.version>
     <commons.spotbugs.impl.version>4.2.3</commons.spotbugs.impl.version>    
     <commons.surefire-report.version>2.22.2</commons.surefire-report.version>
     <commons.surefire.version>2.22.2</commons.surefire.version>
@@ -765,6 +765,18 @@
           </dependencies>
         </plugin>
         <plugin>
+          <groupId>com.github.spotbugs</groupId>
+          <artifactId>spotbugs-maven-plugin</artifactId>
+          <version>${commons.spotbugs.plugin.version}</version>
+          <dependencies>
+            <dependency>
+              <groupId>com.github.spotbugs</groupId>
+              <artifactId>spotbugs</artifactId>
+              <version>${commons.spotbugs.impl.version}</version>
+            </dependency>
+          </dependencies>
+        </plugin>
+        <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-pmd-plugin</artifactId>
           <version>${commons.pmd.version}</version>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 61c1c16..77f74ed 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -70,6 +70,7 @@ The <action> type attribute can be add,update,fix,remove.
           <action type="add" dev="ggregory">Add versions-maven-plugin run for this build.</action>
           <action type="add" dev="ggregory">Add maven-checkstyle-plugin to pluginManagement.</action>
           <action type="add" dev="ggregory">Allow Maven PMD plugin to override PMD implementation jars with property "commons.pmd-impl.version".</action>
+          <action type="add" dev="ggregory">Add SpotBugs to plugin management section.</action>
           <!-- UPDATES -->
           <action type="update" dev="ggregory">Update versions-maven-plugin 2.7 -> 2.8.1.</action>
           <action type="update" dev="ggregory" due-to="Dependabot">Update maven-project-info-reports-plugin from 3.1.0 to 3.1.2 #19, #41.</action>