Hello,

I have created an OSGi test project which uses maven and annotation-based
declarative services.
Updating org.apache.felix.scr from 1.8.2 to 2.0.2 breaks the integration test
with following error:

org.osgi.framework.BundleException: Unresolved constraint in bundle
org.apache.felix.scr [13]: Unable to resolve 13.0: missing requirement [13.0]
osgi.wiring.package;
(&(osgi.wiring.package=org.osgi.dto)(version>=1.0.0)(!(version>=2.0.0)))

Deploying with "mvn:pax provision" still works. It seems that dependencies have
changed, e.g. org.osgi.core (which contains org.osgi.dto) went from 5.0.0 to
6.0.0, and that constraints are no longer satisfied. Unfortunately I don't know
how I can use this information to make the integration test work again.

Kind regards
Mikael Beyene

Links:
Full build log : https://travis-ci.org/mbe24/mode/builds/114051484
Source code    : https://github.com/mbe24/mode/tree/update_scr_plugin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to