Skip to content

Commit 71a7750

Browse files
committed
[MPLUGIN-488] Bump asmVersion from 9.5 to 9.6.
Add additional definitions for JDK 21 and 22
1 parent 1934c85 commit 71a7750

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ public class JavaAnnotationsMojoDescriptorExtractor extends AbstractLogEnabled i
131131
CLASS_VERSION_TO_JAVA_STRING.put(Opcodes.V18, "18");
132132
CLASS_VERSION_TO_JAVA_STRING.put(Opcodes.V19, "19");
133133
CLASS_VERSION_TO_JAVA_STRING.put(Opcodes.V20, "20");
134+
CLASS_VERSION_TO_JAVA_STRING.put(Opcodes.V21, "21");
135+
CLASS_VERSION_TO_JAVA_STRING.put(Opcodes.V22, "22");
134136
}
135137

136138
@Inject

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
<!-- whenever the ASM version is updated also the
101101
maven-plugin-tools-annotations/src/main/java/o/a/m/tools/plugins/extractor/annotations/JavaAnnotationsMojoDescriptorExtractor#CLASS_VERSION_TO_JAVA_STRING
102102
needs to be updated as well -->
103-
<asmVersion>9.5</asmVersion>
103+
<asmVersion>9.6</asmVersion>
104104
<plexusUtilsVersion>4.0.0</plexusUtilsVersion>
105105
<plexusXmlVersion>3.0.0</plexusXmlVersion>
106106
<reportingApiVersion>3.1.1</reportingApiVersion>

0 commit comments

Comments
 (0)