Another provision exception occurs due a dependency on 'org.apache.activemq.camel.component'.
See the full exception on webendpoint profile:
Provision Exception:
org.osgi.service.resolver.ResolutionException: Unable to resolve dummy/0.0.0: missing requirement [dummy/0.0.0] osgi.identity; osgi.identity=travelagency; type=osgi.bundle; version="[1.0.0,1.0.0]" [caused by: Unable to resolve travelagency/1.0.0: missing requirement [travelagency/1.0.0] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.apache.activemq.camel.component)(version>=5.11.0)(!(version>=6.0.0)))"]
at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)
at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:148)
at io.fabric8.agent.DeploymentBuilder.resolve(DeploymentBuilder.java:231)
at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:567)
at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:293)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Searching for this issue on the internet I found this blog post 1. According to that post the author says you have to add and Export-Package directive in the maven-bundle-plugin configuration like this:
Another provision exception occurs due a dependency on 'org.apache.activemq.camel.component'.
See the full exception on
webendpoint
profile:Searching for this issue on the internet I found this blog post 1. According to that post the author says you have to add and
Export-Package
directive in themaven-bundle-plugin
configuration like this:Actually after adding that directive in the pom.xml of all projects the error disappeared.
[1] http://www.rubix.nl/blogs/fuse-fabric-mq-provision-exception