Hi Tom.
Thanks for the response.
There is a resolution, and if I install both versions of the bundle in question first then OSGi is happy. But p2 just isn't installing the older version. However it is complicated further by the current set of p2 repos I have to test this have two differently qualified of the same bundle, the newer one has uses constraints, the older one doesn't.
Here is a summary of the concrete problem if you are interested:
The bundle is com.sun.xml.bind. The 2.2.0 version in simrel/orbit has no uses constraints and so gets wired wrong since newer versions of some of the packages were added in 2020-06 (javax.xml.bind 2.3.3 version was added). If I fix the uses constraints on the 2.2.0 version and add a 2.3.3 version of com.sun.xml.bind then all the plug-ins appear to work and are resolved.
However I think the conclusion is I have to get projects (like mylyn builds) to change what they publish and their dependency ranges. This is complicated by javax.xml.bind bundle essentially getting a name change to jakarta.xml.bind and some projects using require bundle of javax.xml.bind and some using import package javax.xml.bind.
Anyway, I think I have a solution to making Mylyn Builds and CDT and docker tools to all co-exist nicely
Thanks,
Jonah