I'm new to OSGi. I'm using Apache Felix. I have build a bundle, and that has a dependency. When I try to start the bundle with start file:/path/to/bundle.jar
it gives me this error.
org.osgi.framework.BundleException: Unable to resolve lk.ucsc.research.BellyRunner [20](R 20.0): missing requirement [lk.ucsc.research.BellyRunner [20](R 20.0)] osgi.wiring.package; (osgi.wiring.package=lk.ucsc.research.bellygraph) Unresolved requirements: [[lk.ucsc.research.BellyRunner [20](R 20.0)] osgi.wiring.package; (osgi.wiring.package=lk.ucsc.research.bellygraph)]
My Maven project structure is as follows,
|-Belly
|-BellyGraph
|-BellyRunner OSGi( dependencies: BellyGraph )
I tried adding <Embed-Dependency>BellyGraph</Embed-Dependency>
too. But It didn't work. Please help me to get this run. The full POM could be found here on Github.