eclipse / transformer

Eclipse Transformer provides tools and runtime components that transform Java binaries, such as individual class files and complete JARs and WARs, mapping changes to Java packages, type names, and related resource names.

Home Page:https://projects.eclipse.org/projects/technology.transformer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to run Eclipse Transformer on Java 21 using the Maven plugin

mnriem opened this issue · comments

To make it work I had to add the following dependency to the 0.5.0 version of the Maven plugin:

<dependency>
  <groupId>biz.aQute.bnd</groupId>
  <artifactId>biz.aQute.bnd</artifactId>
  <version>7.0.0</version>
</dependency>

Yes, this is a known issue. See #475.

The work around is to configure the plugin to use the 7.0.0 versions of the bnd dependencies.

See #475 (comment) for why we cannot update this build to use bnd 7.0.0.

@bjhargrave Can we get this documented somewhere prominent? This took way to much time to find out and as Java 21 is going to be more common as it has been out now for a while ....

Perhaps you can make a PR for the project readme?

@bjhargrave See #529 for the PR