Skip to content
This repository has been archived by the owner on Oct 5, 2022. It is now read-only.

Dependency issue with profile insight-camel #1388

Closed
cmoulliard opened this issue May 15, 2014 · 2 comments
Closed

Dependency issue with profile insight-camel #1388

cmoulliard opened this issue May 15, 2014 · 2 comments
Milestone

Comments

@cmoulliard
Copy link
Contributor

Whenever we deploy insight-camel which is linked to camel profile (2.13), it can't as there is a missing requirement :

2014-05-15 17:45:59,212 | INFO  | o.fabric8.agent) | DeploymentAgent                  | ?                                   ? | 67 - io.fabric8.fabric-agent - 1.1.0.SNAPSHOT | DeploymentAgent updated with {hash=ProfileImpl[id='default', version='1.0']-ProfileImpl[id='insight-core', version='1.0']-ProfileImpl[id='insight-camel', version='1.0']-8465965-8c53726-8465965-8c53726-8c53726-8c53726-8465965-8c53726-8465965, org.ops4j.pax.url.mvn.defaultrepositories=file:/Users/chmoulli/Fuse/Fuse-projects/fabric8/fabric/fabric8-karaf/target/fabric8-karaf-1.1.0-SNAPSHOT/system@snapshots@id=karaf-default,file:/Users/chmoulli/Fuse/Fuse-projects/fabric8/fabric/fabric8-karaf/target/fabric8-karaf-1.1.0-SNAPSHOT/local-repo@snapshots@id=karaf-local, feature.karaf=karaf, feature.jolokia=jolokia, repository.org.apache.karaf.assemblies.features_enterprise=mvn:org.apache.karaf.assemblies.features/enterprise/2.3.0.redhat-610379/xml/features, repository.karaf-spring=mvn:org.apache.karaf.assemblies.features/spring/2.3.0.redhat-610379/xml/features, feature.camel-blueprint=camel-blueprint, feature.insight-camel=insight-camel, resolve.optional.imports=false, feature.insight-log=insight-log-storage, feature.camel-core=camel-core, feature.fabric-core=fabric-core, repository.karaf-enterprise=mvn:org.apache.karaf.assemblies.features/enterprise/2.3.0.redhat-610379/xml/features, feature.insight-graph=insight-metrics, fabric.zookeeper.pid=io.fabric8.agent, feature.fabric-camel=fabric-camel, org.ops4j.pax.url.mvn.repositories=http://repo1.maven.org/maven2@id=central, https://repo.fusesource.com/nexus/content/groups/public@id=fusepublic, https://repository.jboss.org/nexus/content/repositories/public@id=jbosspublic, https://repo.fusesource.com/nexus/content/repositories/releases@id=jbossreleases, https://repo.fusesource.com/nexus/content/groups/ea@id=jbossearlyaccess, http://repository.springsource.com/maven/bundles/release@id=ebrreleases, http://repository.springsource.com/maven/bundles/external@id=ebrexternal, https://oss.sonatype.org/content/groups/scala-tools@id=scala, repository.fabric8=mvn:io.fabric8/fabric8-karaf/1.1.0-SNAPSHOT/xml/features, feature.fabric-jaas=fabric-jaas, patch.repositories=https://repo.fusesource.com/nexus/content/repositories/releases, https://repo.fusesource.com/nexus/content/groups/ea, service.pid=io.fabric8.agent, feature.fabric-agent=fabric-agent, repository.org.apache.karaf.assemblies.features_standard=mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610379/xml/features, feature.fabric-web=fabric-web, feature.fabric-git-server=fabric-git-server, feature.fabric-git=fabric-git, repository.apache-camel=mvn:org.apache.camel.karaf/apache-camel/2.13.0/xml/features, repository.karaf-standard=mvn:org.apache.karaf.assemblies.features/standard/2.3.0.redhat-610379/xml/features, optional.ops4j-base-lang=mvn:org.ops4j.base/ops4j-base-lang/1.4.0, attribute.parents=feature-camel insight-core}
2014-05-15 17:45:59,599 | ERROR | agent-1-thread-1 | DeploymentAgent                  | ?                                   ? | 67 - io.fabric8.fabric-agent - 1.1.0.SNAPSHOT | Unable to update agent
org.osgi.service.resolver.ResolutionException: Unable to resolve dummy/0.0.0: missing requirement [dummy/0.0.0] osgi.identity; osgi.identity=insight-camel; type=karaf.feature; version=0 [caused by: Unable to resolve insight-camel/1.1.0.SNAPSHOT: missing requirement [insight-camel/1.1.0.SNAPSHOT] osgi.identity; osgi.identity=io.fabric8.insight.insight-camel; type=osgi.bundle; version="[1.1.0.SNAPSHOT,1.1.0.SNAPSHOT]" [caused by: Unable to resolve io.fabric8.insight.insight-camel/1.1.0.SNAPSHOT: missing requirement [io.fabric8.insight.insight-camel/1.1.0.SNAPSHOT] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.codehaus.jackson.map)(version>=1.9.0)(!(version>=2.0.0)))"]]
    at org.apache.felix.resolver.Candidates.populateResource(Candidates.java:285)[67:io.fabric8.fabric-agent:1.1.0.SNAPSHOT]
    at org.apache.felix.resolver.Candidates.populate(Candidates.java:153)[67:io.fabric8.fabric-agent:1.1.0.SNAPSHOT]
    at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:148)[67:io.fabric8.fabric-agent:1.1.0.SNAPSHOT]
    at io.fabric8.agent.DeploymentBuilder.resolve(DeploymentBuilder.java:224)[67:io.fabric8.fabric-agent:1.1.0.SNAPSHOT]
    at io.fabric8.agent.DeploymentAgent.doUpdate(DeploymentAgent.java:550)[67:io.fabric8.fabric-agent:1.1.0.SNAPSHOT]
    at io.fabric8.agent.DeploymentAgent$2.run(DeploymentAgent.java:281)[67:io.fabric8.fabric-agent:1.1.0.SNAPSHOT]
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_51]
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_51]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_51]
    at java.lang.Thread.run(Thread.java:744)[:1.7.0_51]
@cmoulliard
Copy link
Contributor Author

Problem is due to the fact that insight-camel feature which install the mvel bundle and camel 2.13 but not the following jackson bundles

mvn:org.codehaus.jackson/jackson-mapper-asl/1.9.12
mvn:org.codehaus.jackson/jackson-core-asl/1.9.12

@jstrachan
Copy link
Contributor

this is fixed now right?

@jstrachan jstrachan added this to the 1.1.0.Beta6 milestone Jun 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants