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

garydgregory 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 0f17dfa  Allow maven-pmd-plugin to override org.ow2.asm:asm version 
(fixes Java 27-ea build: Unsupported class file major version 71).
0f17dfa is described below

commit 0f17dfae5f08490e01ea81af99404cc99f2f4e18
Author: Gary Gregory <[email protected]>
AuthorDate: Sun May 17 18:57:42 2026 +0000

    Allow maven-pmd-plugin to override org.ow2.asm:asm version (fixes Java
    27-ea build: Unsupported class file major version 71).
---
 pom.xml                 | 5 +++++
 src/changes/changes.xml | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 5edfca8..53a0873 100644
--- a/pom.xml
+++ b/pom.xml
@@ -728,6 +728,11 @@
           <artifactId>maven-pmd-plugin</artifactId>
           <version>${commons.pmd.version}</version>
           <dependencies>
+            <dependency>
+              <groupId>org.ow2.asm</groupId>
+              <artifactId>asm</artifactId>
+              <version>${commons.asm.version}</version>
+            </dependency>
             <dependency>
               <groupId>net.sourceforge.pmd</groupId>
               <artifactId>pmd-core</artifactId>
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9a7c064..cc09a41 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -59,9 +59,10 @@ The <action> type attribute can be add,update,fix,remove.
     <body>
       <release version="101" date="YYYY-MM-DD" description="This is a feature 
and maintenance release. Java 8 or later is required.">
         <!-- FIX -->
+        <action type="update" dev="ggregory" due-to="Gary Gregory">Allow 
maven-pmd-plugin to override org.ow2.asm:asm version (fixes Java 27-ea build: 
Unsupported class file major version 71).</action>
         <!-- ADD -->
         <!-- UPDATE -->
-        <action type="update" dev="ggregory" due-to="Gary Gregory">Bump 
commons.asm.version from 9.1.1 to 9.10 (adds Java 27 opcode support).</action>
+        <action type="update" dev="ggregory" due-to="Gary Gregory">Bump 
commons.asm.version from 9.1.1 to 9.10 (adds Java 27 opcode support, fixes 
SpotBugs Unsupported class file major version 71).</action>
       </release>
       <release version="100" date="2026-05-11" description="This is a feature 
and maintenance release. Java 8 or later is required.">
         <!-- FIX -->

Reply via email to