How to use packages with different versions [message #1857165] |
Fri, 20 January 2023 13:25 |
M R Messages: 1 Registered: January 2023 |
Junior Member |
|
|
Hi,
My plugin requires 2 different versions of **org.apache.log4j**
I have a bundle **org.geotools** which is simple a wrapper for some jars. These jars require **org.apache.log4j** (version** 1.2.15**) which I added to the jars that are already in the bundle **org.geotools**.
BUT my plugin also requires the bundle **org.apache.log4j** that contains the package **org.apache.log4j** in version **1.2.21**.
The build with maven works fine. But the installation of my plugin fails with the error:
> Cannot complete the install because one or more required items could not be found.
Software being installed: ... 1.1.43.202301131246 (de.....feature.feature.group 1.1.43.202301131246)
Missing requirement: Geotools 28.0.0 (org.geotools 28.0.0) requires 'java.package; org.apache.log4j 1.2.15' but it could not be found
Cannot satisfy dependency:
From: ... 1.1.43.202301131246 (de....feature.feature.group 1.1.43.202301131246)
To: org.eclipse.equinox.p2.iu; org.geotools [28.0.0,28.0.0]
What am I doing wrong?
Marco
|
|
|
Powered by
FUDForum. Page generated in 0.03316 seconds