-
Task
-
Resolution: Done
-
Major
-
None
-
None
The javax.annotation package includes classes/interfaces that are not from Jakarta Annotations, e.g. the proposed JSR-305 put classes in that package. Batavia (and perhaps Eclipse Transformer in general) does not yet have a mechanism for discriminatingJakarta Annotations uses of the package from the non-EE uses that do not need transformation. See https://github.com/wildfly-extras/batavia/issues/112. So, we are transforming artifacts we don't need to transform. This can be prevented by identifying the relevant artifacts and configuring the wildfly-preview feature pack build to not transform them.
Google Guava is such an artifact and it looks like there are a number of OpenTelemetry examples as well.
https://github.com/wildfly/galleon-plugins/pull/202/files illustrates the WildFly Galleon plugin functionality that will likely be used here.