-
Enhancement
-
Resolution: Done
-
Major
-
4.0.0.Beta1
-
None
-
Undefined
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))]]]]]]