Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2641

Integrate jakarta annotations 2.0.0

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Beta1
    • Fix Version/s: 4.0.0.Beta2
    • Component/s: OSGi support
    • Labels:
      None

      Description

      In order to certify GlassFish to be Compatible Implementation of Jakarta Annotations Specification and thus also the voting for the spec to start[1], a weld depending on jakarta annotations 2.0.0 is required. Note that jakarta annotations 2.0.0 is available from staging repo at jakarta.oss.sonatype.org

      With current weld version (4.0.0.Beta1), it is not possible to use  jakarta annotations 2.0.0 because of hard dependency from weld on  jakarta annotations 2.0.0-RC1, which is seen during server startup after updating jakarta annotations from 2.0.0-RC1 to jakarta annotations 2.0.0 which fails with:

      [exec] Caused by: org.osgi.framework.BundleException: Unable to resolve org.glassfish.main.webservices.connector [208](R 208.0): missing requirement .... [caused by: Unable to resolve org.jboss.weld.osgi-bundle [49](R 49.0): missing requirement [org.jboss.weld.osgi-bundle [49](R 49.0)] osgi.wiring.package; (&(osgi.wiring.package=jakarta.annotation)(version>=2.0.0.RC1))]]]]]]
      

       

       [1]: https://github.com/jakartaee/specifications/pull/224

        Attachments

          Activity

            People

            Assignee:
            manovotn Matěj Novotný
            Reporter:
            lukas.jungmann@gmail.com Lukas Jungmann (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: