[ https://issues.apache.org/jira/browse/FELIX-5938?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre De Rop resolved FELIX-5938. ---------------------------------- Resolution: Fixed committed in revision 1842034. > DM not working with latest Felix Framework > ------------------------------------------ > > Key: FELIX-5938 > URL: https://issues.apache.org/jira/browse/FELIX-5938 > Project: Felix > Issue Type: Bug > Components: Dependency Manager > Reporter: Pierre De Rop > Assignee: Pierre De Rop > Priority: Major > > When using the latest Felix framework, DM is not resolved: > {code:java} > org.osgi.framework.BundleException: Unable to resolve > org.apache.felix.dependencymanager [5](R 5.0): missing requirement > [org.apache.felix.dependencymanager [5](R 5.0)] osgi.wiring.package; > (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=1.9.0))) > Unresolved requirements: [[org.apache.felix.dependencymanager [5](R 5.0)] > osgi.wiring.package; > (&(osgi.wiring.package=org.osgi.framework)(version>=1.8.0)(!(version>=1.9.0)))]{code} > Surprisingly, bnd generates an odd import range and excludes the 1.9 version. > Fixing the DM bnd like this resolves the issue: > {code:java} > Import-Package: !org.junit,!org.mockito.*,org.osgi.framework;version="[1.8, > 2)",* > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)