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


The following commit(s) were added to refs/heads/master by this push:
     new 9097294  Pick up spotbugs-maven-plugin version from plugin management 
section.
9097294 is described below

commit 90972941e1a32710a3a85347e5112c9030b78c13
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Fri Mar 5 20:46:55 2021 -0500

    Pick up spotbugs-maven-plugin version from plugin management section.
    
    Override ASM version in SpotBugs to build on Java 17-ea.
---
 pom.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index ad13fdb..cc09594 100644
--- a/pom.xml
+++ b/pom.xml
@@ -196,6 +196,7 @@
     <commons.jacoco.version>0.8.6</commons.jacoco.version>
     <commons.spotbugs.version>4.2.0</commons.spotbugs.version>
     <commons.spotbugs.impl.version>4.2.2</commons.spotbugs.impl.version>
+    <commons.asm.version>9.1</commons.asm.version>
     <commons.pmd.version>6.32.0</commons.pmd.version>
     <slf4j.version>1.7.26</slf4j.version>
     <log4j2.version>2.14.0</log4j2.version>
@@ -239,9 +240,14 @@
         <plugin>
           <groupId>com.github.spotbugs</groupId>
           <artifactId>spotbugs-maven-plugin</artifactId>
-          <version>${commons.spotbugs.impl.version}</version>
+          <version>${commons.spotbugs.version}</version>
           <dependencies>
             <dependency>
+              <groupId>org.ow2.asm</groupId>
+              <artifactId>asm</artifactId>
+              <version>${commons.asm.version}</version>
+            </dependency>
+            <dependency>
               <groupId>com.github.spotbugs</groupId>
               <artifactId>spotbugs</artifactId>
               <version>${commons.spotbugs.impl.version}</version>
@@ -263,6 +269,7 @@
         </plugin>
       </plugins>
     </pluginManagement>
+
     <resources>
       <resource>
         <directory>${basedir}/osgi</directory>
@@ -379,7 +386,6 @@
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
         <configuration>
           <threshold>Normal</threshold>
           <effort>Default</effort>
@@ -441,7 +447,6 @@
       <plugin>
         <groupId>com.github.spotbugs</groupId>
         <artifactId>spotbugs-maven-plugin</artifactId>
-        <version>${commons.spotbugs.version}</version>
         <configuration>
           <threshold>Normal</threshold>
           <effort>Default</effort>

Reply via email to