fix: jaxrs-ri import-package on org.glassfish.hk2.osgiresourcelocator#5947
fix: jaxrs-ri import-package on org.glassfish.hk2.osgiresourcelocator#5947jkevan wants to merge 1 commit intoeclipse-ee4j:2.xfrom
Conversation
|
Could you please rebase your PR on top of the current 2.x? It's updated. And re-push the PR. This will fix the copyright issue. Thank you. |
2b494cc to
f6f482b
Compare
|
Just rebased ! I have a question regarding the For example, most Since these packages are normally provided by the Context for this question:
Additional information: Best regards. |
|
@jkevan The jersey bundles are prebuilt for easy grab-and-deploy operation to be used with Tomcat or some other container. I am not aware of a case where the bundle is being used in an OSGi environment. The automatic creation of the OSGi can be wrong. How did you find the error? Do you have an OSGi environment to run the bundle? The self-import of the packages is indeed not correct. Feel free to update the PR with updated OSGi plugin directives that work well in your environment. |
Refer to issue: #5946
Where import-package for org.glassfish.hk2.osgiresourcelocator doesn't seem's correct, it's catched by the global import:
${hk2.osgi.version}which resolve to: <hk2.osgi.version>org.glassfish.hk2.*;version="[2.5,4)"</hk2.osgi.version>.But
osgiresourcelocatoris not following otherorg.glassfish.hk2.*versioning.One
jaxrs-rirepackaged bundle:jersey-commons:2.47is using 1.x version ofosgiresourcelocator