Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-3862 TomEE 9.x for jakarta namespace
  3. TOMEE-3968

Additionally scan for j"avax.enterprise.inject.spi.Extension"

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 9.0.0-M7
    • None
    • TomEE Core Server
    • None

    Description

      Currently, TomEE 9.x only scans for "META-
      INF/services/jakarta.enterprise.inject.spi.Extension".

      This breaks, if 3rd party artifacts do not correctly relocate their
      "META-INF/services" files and still deliver
      "javax.enterprise.inject.spi.Extension". While we can fix that via PRs
      in OSS projects, it might be a problem in the wild.

      To compensate this for our users, i.e.

      • Additionally scan for "javax.enterprise.inject.spi.Extension"
      • If we find something, log a warning/info that this is not really
        expected and load the extension instead of failing with an
        unsatisfied dependency error later.

      Note, that we also rewrite javax to jakarta in XML files on the fly, so
      it would probably be consistent to also scan for javax.enterprise.injec
      t.spi.Extension" but I would like to hear some opinions on i

      Attachments

        Activity

          People

            Unassigned Unassigned
            rzo1 Richard Zowalla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: