You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the plugin and a module project with java 21 I got an ASM unknown bytecode version 65.
plexus-java is what pulls in asm 9.2.
Work around
In the plugin config just define a newer asm version
<plugin>
<groupId>com.github.akman</groupId>
<artifactId>jpackage-maven-plugin</artifactId>
<version>0.1.5</version>
<dependencies>
<!-- need a newer version of asm to support java 21 -->
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.6</version>
</dependency>
</dependencies>
</plugin>
Problem
Using the plugin and a module project with java 21 I got an ASM unknown bytecode version 65.
plexus-java
is what pulls in asm 9.2.Work around
In the plugin config just define a newer asm version
Longer term solution
I think is to move to eclipse sisu which I think the plugins are switching to.
https://codehaus-plexus.github.io/plexus-containers/plexus-component-metadata/#deprecated
https://eclipse.dev/sisu/
The text was updated successfully, but these errors were encountered: