Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-15311

Exclude artifacts from transformation during wildfly-preview feature pack build that only use non-Jakarta Annotations classes in javax.annotation

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: