The purpose of this PR is to enable compatibility with the Jakarta artifacts being released
All artifacts are available at https://jakarta.oss.sonatype.org/content/groups/staging as finals and are slowly being pushed to maven central.
This places the module info file into the META-INF/versions/11 directory, as well as creates a shaded artifact with the classifier of "jakarta", with the namespace changed.
This allows usage for Jakarta XML Bind version 3.0.0
This PR solves for FasterXML/jackson-jaxrs-providers#124
Please review and comment as necessary
Jakarta XML Binding has placed everything into jakarta. namespace, and I've hit a roadblock on the jaxb, and jaxrs modules in moving modular to Jakarta 9, whose release should be completely in central by the end of the coming week.
javax.xml.bind is now jakarta.xml.bind (although the module is still named java.xml.bind) and javax.ws.rs is jakarta.ws.rs -
Going through that rather lengthy discussion on the mentioned issue, it became apparent that there had to be a way to do it with no code change -
This is what I found that works with zero changes :- shade into a classified artifact, and if need be override the module-info with a custom one for jakarta specifically :)
this is also my solution for references to javax.activation (to jakarta.activation in namespace not just modules)
This lets people consume the modules affected with only adding a <classifier> to their dependency and not breaking anything else :)
These are the locations that this PR resolves for