-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential problem with multiple org.osgi.service.component.annotations packages #157
Comments
Today I think the most suitable solution would be to not publish org.eclipse.osgi.services at all (we can always use the official artifact from the osgi alliance instead). Beside that. all these annotations are actually class retention annotations, so should never be loaded at runtime at all. |
This situation is expected (but not desired) since the transition to OSGi-bundles from Maven-Central has started in #18 but is not yet completed. It is currently blocked by eclipse-platform/eclipse.platform.releng.aggregator#239 not being available, which was blocked by eclipse-equinox/p2#64. But we resolved the latter we just have to wait until that is available in Tycho and then (hopefully) can proceed after the december SimRel. Unfortunately the strategy to replace the previously embedded OSGi sources by bundles from Maven-Central and simply re-exporting them until |
I think there is actually nothing special or something one must be concerned, this is not a split package and just a regular package in different versions. |
I guess we don't need to worry about this problem... |
This issue has been inactive for 180 days and is therefore labeled as stale. |
Testing the platform's 4.26 I-Build for split-package signature problems, this one crops up:
The first one is this and is jar signed:
https://download.eclipse.org/oomph/archive/reports-extra/4.26-I-builds/download.eclipse.org/eclipse/updates/4.26-I-builds/I20221111-1800/index/org.eclipse.osgi.services_3.11.100.v20221006-1531.html
The second one is this and is PGP signed:
https://download.eclipse.org/oomph/archive/reports-extra/4.26-I-builds/download.eclipse.org/eclipse/updates/4.26-I-builds/I20221111-1800/index/org.osgi.service.component.annotations_1.5.0.202109301733.html
Should this one
really have a copy of the content from this one
I suppose running system will just pick one of two packages and not actually encounter a problem with loading a class form one package and then a different class from the other package, but it still seems odd to duplicate the content. Though I guess it's not actually a duplicate because one is version 1.3 and the other version 1.5.
Is this state actually the desired correct one?
The text was updated successfully, but these errors were encountered: