|Re: [cross-project-issues-dev] Staging for SimRel 2023-06 RC1 is Complete (PLEASE READ SECTION 3rd PARTY BUNDLES)|
The staging repository content of_______________________________________________
has been promoted to the following repository for 2023-06 RC1:
This is ready for consumption by EPP.
It will become visible in the composite as scheduled Friday, June 2nd, 2023:
STOP INCLUDING 3rd PARTY BUNDLES IN FEATURES
This is the first time in a very long time that we've reduced the number of duplicates:
The most common reason for duplicates (though not the only one) is including 3rd party bundles in your features, e.g., here the platform requires one specific version of gson while papyrus another:
In this case, lsp4j is depending on an internal package not exported by the direct-from-maven version of gson. I wonder if or why that's necessary?
There is a proposal to stop including 3rd party bundles in features:
I plan to help the platform and other projects stop doing that:
For the platform is relatively easy because they're at the bottom of the food chain so they can just specify to include all transitive requirements in their repository. For most of us though, we cannot and should not replicate project content of other Eclipse projects, so we must take a different approach. My suggestion here is to introduce an additional "dependencies" feature that's included uncategorized in the category.xml and to move all 3rd party bundle includes to that feature (and DO NOT include that feature in any other feature that the user installs).
You might think, "but I want to be sure that a specific tested version of some 3rd party dependency is used". Dream on then because there is no guarantee that OSGi will actually wire your bundles to any specific 3rd party bundle version even if that version is available in the installation. The wiring will depend only on the version ranges in your actual bundles, not on the versions included by the features.Regards,
cross-project-issues-dev mailing list
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev
Back to the top