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

Exclude libthrift from javax->jakarta transformation when building or using the wildfly-preview feature pack

XMLWordPrintable

      The libthrift jar contains two classes that are triggering transformation of the artifact when building the wildfly-preview feature pack. Neither of these are relevant to WF's use of libthrift, and the module.xml for the module that provides libthrift does not provide the javax.servlet.api module dep that would be needed for someone to use these classes.

      org.apache.thrift.server.TExtensibleServlet
      org.apache.thrift.server.TServlet

      Both of these are HttpServlet implementations.

      My impression from doing a usage search in IDEA (in my wildfly project) is that libthrift itself doesn't use these; they look to be there for people who want to use them in their own apps. The module is marked jboss.api=private so we don't support such use of the libthrift we provide.

      So, we should stop transforming this artifact.

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

                Created:
                Updated:
                Resolved: