GuyDaniel opened a new issue, #159:
URL: https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/issues/159
Any nbm module with code in it set to JDK 22 fails with :
` Execution default-manifest of goal
org.apache.netbeans.utilities:nbm-maven-plugin:14.0:manifest failed:
Unsupported class file major version 66 from directory = .... blah blah blah`
The last version of nbm-maven-plugin to work is 3.13.3
The newest version of the plugin - 14.0 does not, presumably as from about
version 4.0 it started using the asm libraries.
JDK 22 is quite new, and support for it probably only got included in the
ASM release in March?
This is easy to work around - just configure the nbm plugin as per:
```xml
<plugin>
<groupId>org.apache.netbeans.utilities</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.7</version>
</dependency>
</dependencies>
</plugin>
```
I put this over in the netbeans issues by mistake and @mbien suggested that
the project just needs to be rebuilt with updated dependencies.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists