Dear OSGi gurus,

I have a dependency on "org.osgi:osgi.core" (7.0.0) in my POM. The
reason is that I need access to the "org.osgi.framework" package. I am
using Maven (3.6) and Tycho (1.5.1) for building. The build platform
runs Debian 10 and Java 11.

*I get the following error:*

Missing requirement: osgi.core 7.0.0.201802012106 requires
'osgi.unresolvable; (&(!(must.not.resolve=*))(must.not.resolve=*))' but
it could not be found

*However, if I remove the dependency I get the following error:*

Missing requirement: my.bundle 0.0.0.qualifier requires 'java.package;
org.osgi.framework 1.7.0' but it could not be found

*What is going wrong? How can I resolve this problem?*

Stack Overflow:
https://stackoverflow.com/questions/59563368/maven-tycho-cannot-resolve-osgi-core-bundle

Thanks and kind regards,

Martin

_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to