[maven-plugin-tools] branch MPLUGIN-369 created (now 85858aa)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[maven-plugin-tools] branch MPLUGIN-369 created (now 85858aa)

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

slachiewicz pushed a change to branch MPLUGIN-369
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git.


      at 85858aa  [MPLUGIN-369] - Upgrade ASM Api version to ASM9 in visitors - in sync with the current ASM version.

This branch includes the following new commits:

     new 85858aa  [MPLUGIN-369] - Upgrade ASM Api version to ASM9 in visitors - in sync with the current ASM version.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Reply | Threaded
Open this post in threaded view
|

[maven-plugin-tools] 01/01: [MPLUGIN-369] - Upgrade ASM Api version to ASM9 in visitors - in sync with the current ASM version.

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

slachiewicz pushed a commit to branch MPLUGIN-369
in repository https://gitbox.apache.org/repos/asf/maven-plugin-tools.git

commit 85858aa388734bd2e632d1d2c6403dd308b1587f
Author: Alex Shesterov <[hidden email]>
AuthorDate: Sun Nov 22 12:34:52 2020 +0100

    [MPLUGIN-369] - Upgrade ASM Api version to ASM9 in visitors - in sync with the current ASM version.
   
    This fixes the "Record requires ASM8" problem when Records are used in a Mojo.
   
    This closes #32
---
 .../extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java   | 2 +-
 .../plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java | 2 +-
 .../plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java
index 2199de5..3977ed2 100644
--- a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java
+++ b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoAnnotationVisitor.java
@@ -41,7 +41,7 @@ public class MojoAnnotationVisitor
 
     MojoAnnotationVisitor( Logger logger, String annotationClassName )
     {
-        super( Opcodes.ASM7 );
+        super( Opcodes.ASM9 );
         this.logger = logger;
         this.annotationClassName = annotationClassName;
     }
diff --git a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java
index 2191a47..2f3cf30 100644
--- a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java
+++ b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoClassVisitor.java
@@ -53,7 +53,7 @@ public class MojoClassVisitor
 
     public MojoClassVisitor( Logger logger )
     {
-        super( Opcodes.ASM7 );
+        super( Opcodes.ASM9 );
         this.logger = logger;
     }
 
diff --git a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java
index 80afcb6..225478b 100644
--- a/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java
+++ b/maven-plugin-tools-annotations/src/main/java/org/apache/maven/tools/plugin/extractor/annotations/scanner/visitors/MojoFieldVisitor.java
@@ -44,7 +44,7 @@ public class MojoFieldVisitor
 
     MojoFieldVisitor( Logger logger, String fieldName, String className )
     {
-        super( Opcodes.ASM7 );
+        super( Opcodes.ASM9 );
         this.logger = logger;
         this.fieldName = fieldName;
         this.className = className;