eclipse-acceleo / acceleo

7 stars 4 forks source link

Replace dependency to org.eclipse.osgi.services #127

Open HannesWell opened 8 months ago

HannesWell commented 8 months ago

The bundle o.e.osgi.services is deprecated for removal as part of https://github.com/eclipse-equinox/equinox/issues/18 and already has been changed to be empty and only re-export the 'official' OSGi artifacts published to Maven-Central. It should be replaced by imports of the desired org.osgi.service.* packages so that the runtime can choose a suitable provider independently of the bundle name.

In case of Acceleo it should mainly be removed from the acceleo.equinox.launcher feature. You could probably rely on dependencies being pulled in transitively.

HannesWell commented 8 months ago

@Kellindil could you please have a look at this? It should be relatively simple to resolve.

Kellindil commented 7 months ago

Hello @HannesWell ,

Sorry I was in holidays until today.

Unfortunately, I don't have an easy mean to test this modification. We plan on moving on from Acceleo 3 (that still depends on osgi.services) to a new implementation in the future so hopefully this won't be completely deprecated until then so we can avoid this change.

HannesWell commented 2 months ago

Understand. Thanks for the clarification. The removal is scheduled to happen for the 2026-03 SimRel. It would be great if you would have removed the usage of that bundle until then, in whichever way. :)