tycho icon indicating copy to clipboard operation
tycho copied to clipboard

Unable to satisfy dependency from org.osgi.framework 1.8.0

Open mikerumpf opened this issue 1 year ago • 1 comments

While building our application with tycho 4.0.8/Java 17 the following warning is printed while building a plugin:

[INFO] ---------------------------[ eclipse-plugin ]--------------------------- [WARNING] Problems resolving provisioning plan.: Unable to satisfy dependency from org.osgi.framework 1.8.0.201505202023 to java.package; javax.security.auth.x500 [1.3.0,2.0.0).

While it doesn't do any visible damage it's a little strange since we don't use org.osgi.framework 1.8.0 in our target platform and it isn't defined in the parent pom either. So I wonder where it is coming from. I guess it's some transitive dependency but as of now I was unable to find out the root. Any ideas?

mikerumpf avatar Sep 03 '24 12:09 mikerumpf

This can happen if something (optionally / indirectly) depends on it but finally is not chosen, then the P2 slicer warns about it but in the planner phase it decides the requirement is actually not used.

a little strange since we don't use org.osgi.framework 1.8.0 in our target platform and it isn't defined in the parent pom either

Maybe you building with local build artifacts enabled and its in your local maven repository?

laeubi avatar Sep 04 '24 07:09 laeubi

As there is more than a year without a reply from the reporter. Closing.

akurtakov avatar Dec 04 '25 09:12 akurtakov