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

Integrate jakarta annotations 2.0.0


    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Beta2
    • 4.0.0.Beta1
    • OSGi support
    • None

      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

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