Thanks a lot, Olivier! Explicitly setting the maven-plugin-plugin version
to the latest 3.11.0 solved the problem for me.
Regards,
Sergei
On Sun, Mar 3, 2024 at 9:37 PM Sergi Vladykin
wrote:
> Hi,
>
> I'm trying to build a maven plugin with JDK-22
> and DefaultMojoAnnotationsScanner fails with
Sorry for the confusion but you simply need to upgrade
maven-plugin-tools version in your pom as last version already
include the upgraded asm version
It's usually a good practice to declare in your pom every plugins you are using.
On Mon, 4 Mar 2024 at 16:07, Olivier Lamy wrote:
>
> actually t
actually this need a version of this
https://github.com/apache/maven-plugin-tools which have the necessary
upgrade of asm. (maybe you can test locally a snapshot to be sure it
works)
But bear in mind if you are using maven-invoker-plugin with some
groovy scripts to verify, you will have some issues
Hi,
I'm trying to build a maven plugin with JDK-22
and DefaultMojoAnnotationsScanner fails with
Caused by: java.lang.IllegalArgumentException: Unsupported class file major
version 66
at org.objectweb.asm.ClassReader. (ClassReader.java:199)
I'm specifically trying to test the Java 22 release