[Releng] Installation of Papyrus is broken
When we install Papyrus-Nightly the instalation goes to the end but the Eclipse can not start correctly cause to multiple version of batik :
!ENTRY org.eclipse.papyrus.views.modelexplorer 4 0 2025-03-20 15:20:48.931
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.papyrus.views.modelexplorer [1069]
Unresolved requirement: Require-Bundle: org.eclipse.papyrus.infra.gmfdiag.common; bundle-version="[4.0.0,5.0.0)"
-> Bundle-SymbolicName: org.eclipse.papyrus.infra.gmfdiag.common; bundle-version="4.4.0.202503200239"; singleton:="true"
org.eclipse.papyrus.infra.gmfdiag.common [827]
No resolution report for the bundle. Bundle was not resolved because of a uses constraint violation.
org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.eclipse.papyrus.infra.gmfdiag.common [osgi.identity; type="osgi.bundle"; version:Version="4.4.0.202503200239"; osgi.identity="org.eclipse.papyrus.infra.gmfdiag.common"; singleton:="true"] because it is exposed to package 'org.apache.batik.util' from resources org.apache.batik.util [osgi.identity; type="osgi.bundle"; version:Version="1.17.0.v20231215-1130"; osgi.identity="org.apache.batik.util"] and org.apache.batik.util [osgi.identity; type="osgi.bundle"; version:Version="1.18.0.v20241009-1200"; osgi.identity="org.apache.batik.util"] via two dependency chains.
Chain 1:
org.eclipse.papyrus.infra.gmfdiag.common [osgi.identity; type="osgi.bundle"; version:Version="4.4.0.202503200239"; osgi.identity="org.eclipse.papyrus.infra.gmfdiag.common"; singleton:="true"]
require: (&(osgi.wiring.bundle=org.apache.batik.util)(&(bundle-version>=1.17.0)(!(bundle-version>=1.18.0))))
|
provide: osgi.wiring.bundle: org.apache.batik.util
org.apache.batik.util [osgi.identity; type="osgi.bundle"; version:Version="1.17.0.v20231215-1130"; osgi.identity="org.apache.batik.util"]
Chain 2:
org.eclipse.papyrus.infra.gmfdiag.common [osgi.identity; type="osgi.bundle"; version:Version="4.4.0.202503200239"; osgi.identity="org.eclipse.papyrus.infra.gmfdiag.common"; singleton:="true"]
require: (&(osgi.wiring.bundle=org.apache.batik.dom)(&(bundle-version>=1.17.0)(!(bundle-version>=1.18.0))))
|
provide: osgi.wiring.bundle; bundle-version:Version="1.17.0.v20231215-1130"; osgi.wiring.bundle="org.apache.batik.dom"
org.apache.batik.dom [osgi.identity; type="osgi.bundle"; version:Version="1.17.0.v20231215-1130"; osgi.identity="org.apache.batik.dom"]
import: (&(osgi.wiring.package=org.apache.batik.css.engine)(&(version>=1.17.0)(!(version>=2.0.0))))
|
export: osgi.wiring.package=org.apache.batik.css.engine; uses:=org.apache.batik.util
org.apache.batik.css [osgi.identity; type="osgi.bundle"; version:Version="1.18.0.v20241009-1200"; osgi.identity="org.apache.batik.css"]
import: (&(osgi.wiring.package=org.apache.batik.util)(&(version>=1.18.0)(!(version>=2.0.0))))
|
export: osgi.wiring.package: org.apache.batik.util
org.apache.batik.util [osgi.identity; type="osgi.bundle"; version:Version="1.18.0.v20241009-1200"; osgi.identity="org.apache.batik.util"]
at org.eclipse.osgi.container.Module.start(Module.java:493)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:2074)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:143)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2065)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:2005)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1968)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1884)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:341)