Closed jmini closed 2 years ago
Those are the org.osgi.*
bundles in the https://download.eclipse.org/eclipse/updates/4.24/
update site:
org.osgi.service.coordinator [1.0.2.201505202024]
org.osgi.service.log.stream [1.0.0.202109301733]
org.osgi.service.prefs [1.1.2.202109301733]
org.osgi.util.function [1.2.0.202109301733]
org.osgi.util.measurement [1.0.2.201802012109]
org.osgi.util.position [1.0.1.201505202026]
org.osgi.util.promise [1.2.0.202109301733]
org.osgi.util.pushstream [1.0.2.202109301733]
org.osgi.util.xml [1.0.2.202109301733]
So I think it makes sense to add the mapping described in point 2.
I started to work on this on my branch issue-190
I am wondering what the good solution is for the mapping of:
org.eclipse.equinox.preferences [3.10.0.v20220503-1634]
Hard-code somewhere that it should be converted to 3.10.1
?
@nedtwigg any opinion?
I'm okay with hardcoding.
There is an other case that needs to be hard coded: https://github.com/eclipse-platform/eclipse.platform.releng/issues/52
If you open a PR with whatever you have, I'll finish it and publish it today. Thanks for getting it started and collating all the hiccups!
PR is open: #191.
Sorry for the delay, it stays a side project for me
No apologies for the delay, thanks very much for the PR! Shipped in 3.37.0
.
Some notes about supporting Eclipse release 2022-06
Addition of the new update site
Currently if you try to use 2022-06 (a.k.a
4.24.0
) you get the expected error:We need the same work as in: https://github.com/diffplug/goomph/pull/183
The URL of the update site is:
Mapping rule for "org.osgi.service.prefs"
Introduced with https://github.com/eclipse-platform/eclipse.platform.releng/pull/48 there is a new mapping:
See line 70 of SDK4Mvn.aggr
Similar to the work done in https://github.com/diffplug/goomph/issues/157, we need to make sure that
org.osgi.service.prefs
is mapped to the correct coordinates in Maven Central:Buggy org.eclipse.equinox.preferences pom
See https://github.com/eclipse-equinox/equinox.bundles/issues/54 for more details.
The pom for
org.eclipse.platform:org.eclipse.equinox.preferences:3.10.0
(see org.eclipse.equinox.preferences-3.10.0.pom on maven central) is broken.It lists a dependency that does not exists (wrong
groupId
):The "solution" was to publish a new version
3.10.1
where the dependency is fixed (see org.eclipse.equinox.preferences-3.10.1.pom on maven central):I am not sure about the impact for something like:
The P2 Update site will tell to map to:
org.eclipse.platform:org.eclipse.equinox.preferences:3.10.0
But since this is broken, should is map to:
org.eclipse.platform:org.eclipse.equinox.preferences:3.10.1
This would means hard-coding this information somewhere…