Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to satisfy dependency from org.osgi.framework 1.8.0 #4203

Open
mikerumpf opened this issue Sep 3, 2024 · 1 comment
Open

Unable to satisfy dependency from org.osgi.framework 1.8.0 #4203

mikerumpf opened this issue Sep 3, 2024 · 1 comment

Comments

@mikerumpf
Copy link

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?

@laeubi
Copy link
Member

laeubi commented Sep 4, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants