Yes, this was exactly what I encountered. I just had the feeling, that I might 
not want to include all those dependencies to get the component started.

Of course, upgrading might help. As far as I've seen, there are already some 
changes towards proper OSGi bundle build in some new dependency versions made.

Maybe I'll find some tome to take a look at it this evening.

Kind regards,

Christoph

On Sep 22, 2013, at 11:34 PM, Christian Müller <[email protected]> 
wrote:

> Didn't found enough time to finish this task. The dependency tree is huge:
> 
> spring-data-neo4j-rest cmueller$ mvn dependency:tree
> [INFO] Scanning for projects...
> [INFO]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Spring Data Neo4j - Rest Binding 2.2.1.RELEASE
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> [INFO] --- maven-dependency-plugin:2.7:tree (default-cli) @
> spring-data-neo4j-rest ---
> [INFO] org.springframework.data:spring-data-neo4j-rest:jar:2.2.1.RELEASE
> [INFO] +- org.springframework:spring-tx:jar:3.1.4.RELEASE:compile
> [INFO] |  \- aopalliance:aopalliance:jar:1.0:compile
> [INFO] +- org.springframework:spring-context:jar:3.1.4.RELEASE:compile
> [INFO] |  +- org.springframework:spring-expression:jar:3.1.4.RELEASE:compile
> [INFO] |  \- org.springframework:spring-asm:jar:3.1.4.RELEASE:compile
> [INFO] +- org.springframework:spring-beans:jar:3.1.4.RELEASE:compile
> [INFO] +- org.springframework:spring-aspects:jar:3.1.4.RELEASE:compile
> [INFO] |  \-
> org.springframework:spring-context-support:jar:3.1.4.RELEASE:compile
> [INFO] +- org.springframework:spring-aop:jar:3.1.4.RELEASE:compile
> [INFO] +- org.springframework:spring-core:jar:3.1.4.RELEASE:compile
> [INFO] +- org.neo4j:neo4j-kernel:jar:1.8.1:compile
> [INFO] |  \-
> org.apache.geronimo.specs:geronimo-jta_1.1_spec:jar:1.1.1:compile
> [INFO] +- org.neo4j:neo4j-lucene-index:jar:1.8.1:test
> [INFO] |  \- org.apache.lucene:lucene-core:jar:3.5.0:test
> [INFO] +- org.neo4j:neo4j-kernel:jar:tests:1.8.1:test
> [INFO] +-
> org.springframework.data:spring-data-neo4j:jar:2.2.1.RELEASE:compile
> [INFO] |  +- org.aspectj:aspectjrt:jar:1.7.2:compile
> [INFO] |  +-
> org.springframework.data:spring-data-commons:jar:1.5.1.RELEASE:compile
> [INFO] |  \- org.neo4j:neo4j-cypher-dsl:jar:1.9.M04:compile
> [INFO] +- javax.validation:validation-api:jar:1.0.0.GA:compile
> [INFO] +- org.hibernate:hibernate-validator:jar:4.2.0.Final:test
> [INFO] +- org.neo4j:neo4j-rest-graphdb:jar:1.8.1:compile
> [INFO] |  \- org.neo4j:server-api:jar:1.8.1:compile
> [INFO] |     \- org.neo4j.3rdparty.javax.ws.rs:
> jsr311-api:jar:1.1.2.r612:compile
> [INFO] +- org.neo4j.server.plugin:neo4j-gremlin-plugin:jar:1.8.1:test
> [INFO] +- org.neo4j.app:neo4j-server:jar:1.8.1:test
> [INFO] |  +- ch.qos.logback:logback-access:jar:0.9.30:test
> [INFO] |  +- janino:janino:jar:2.5.10:test
> [INFO] |  +- commons-digester:commons-digester:jar:1.8.1:compile
> [INFO] |  |  \- commons-beanutils:commons-beanutils:jar:1.8.0:compile
> [INFO] |  +- commons-io:commons-io:jar:1.4:test
> [INFO] |  +- org.rrd4j:rrd4j:jar:2.0.7:test
> [INFO] |  +- org.neo4j:neo4j-shell:jar:1.8.1:test
> [INFO] |  |  \-
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.jline:jar:0.9.94_1:test
> [INFO] |  \- bouncycastle:bcprov-jdk16:jar:140:test
> [INFO] +- com.tinkerpop.blueprints:blueprints-core:jar:1.2:compile
> [INFO] |  \- org.codehaus.jettison:jettison:jar:1.3:compile
> [INFO] |     \- stax:stax-api:jar:1.0.1:compile
> [INFO] +- com.tinkerpop.blueprints:blueprints-neo4j-graph:jar:1.2:compile
> [INFO] |  +- org.neo4j:neo4j-ha:jar:1.6.1:compile
> [INFO] |  |  +- org.neo4j:neo4j-backup:jar:1.6.1:compile
> [INFO] |  |  +- org.apache.zookeeper:zookeeper:jar:3.3.2:compile
> [INFO] |  |  +- org.neo4j:neo4j-com:jar:1.6.1:compile
> [INFO] |  |  |  \-
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.netty:jar:3.2.5.Final_1:compile
> [INFO] |  |  \- log4j:log4j:jar:1.2.16:compile
> [INFO] |  \- org.neo4j:neo4j-management:jar:1.6.1:compile
> [INFO] +- com.tinkerpop.gremlin:gremlin-groovy:jar:1.5:compile
> [INFO] |  +- com.tinkerpop.gremlin:gremlin-java:jar:1.5:compile
> [INFO] |  +- com.tinkerpop:pipes:jar:1.0:compile
> [INFO] |  +- org.codehaus.groovy:groovy:jar:1.8.5:compile
> [INFO] |  |  +- antlr:antlr:jar:2.7.7:compile
> [INFO] |  |  +- asm:asm-commons:jar:3.2:compile
> [INFO] |  |  +- asm:asm-util:jar:3.2:compile
> [INFO] |  |  +- asm:asm-analysis:jar:3.2:compile
> [INFO] |  |  \- asm:asm-tree:jar:3.2:compile
> [INFO] |  +- org.fusesource.jansi:jansi:jar:1.5:compile
> [INFO] |  \- jline:jline:jar:0.9.94:compile
> [INFO] +- commons-configuration:commons-configuration:jar:1.6:test
> [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:test
> [INFO] |  +- commons-lang:commons-lang:jar:2.4:test
> [INFO] |  +- commons-logging:commons-logging:jar:1.1.1:compile
> [INFO] |  \- commons-beanutils:commons-beanutils-core:jar:1.8.0:test
> [INFO] +- org.mortbay.jetty:jetty:jar:6.1.25:test
> [INFO] |  +- org.mortbay.jetty:jetty-util:jar:6.1.25:test
> [INFO] |  \- org.mortbay.jetty:servlet-api:jar:2.5-20081211:test
> [INFO] +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.7:compile
> [INFO] |  \- org.codehaus.jackson:jackson-core-asl:jar:1.9.7:compile
> [INFO] +- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.7:compile
> [INFO] +- com.sun.jersey:jersey-client:jar:1.4:compile
> [INFO] |  \- com.sun.jersey:jersey-core:jar:1.4:compile
> [INFO] +-
> org.springframework.data:spring-data-neo4j-aspects:jar:2.2.1.RELEASE:test
> [INFO] |  \- cglib:cglib:jar:2.2:test
> [INFO] +-
> org.springframework.data:spring-data-neo4j:jar:tests:2.2.1.RELEASE:test
> [INFO] +-
> org.springframework.data:spring-data-neo4j-aspects:jar:tests:2.2.1.RELEASE:test
> [INFO] +- com.sun.jersey:jersey-server:jar:1.4:test
> [INFO] |  \- asm:asm:jar:3.1:compile
> [INFO] +- org.neo4j:neo4j:jar:1.8.1:compile
> [INFO] |  +- org.neo4j:neo4j-graph-algo:jar:1.8.1:compile
> [INFO] |  +- org.neo4j:neo4j-udc:jar:1.8.1:compile
> [INFO] |  +- org.neo4j:neo4j-graph-matching:jar:1.8.1:compile
> [INFO] |  \- org.neo4j:neo4j-jmx:jar:1.8.1:compile
> [INFO] +- org.neo4j:neo4j-cypher:jar:1.8.1:compile
> [INFO] |  +- org.scala-lang:scala-library:jar:2.9.1-1:compile
> [INFO] |  \-
> com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.3.1:compile
> [INFO] +- org.hamcrest:hamcrest-library:jar:1.3:test
> [INFO] +- org.hamcrest:hamcrest-core:jar:1.3:test
> [INFO] +- junit:junit:jar:4.11:test
> [INFO] +- org.mockito:mockito-core:jar:1.9.5:test
> [INFO] |  \- org.objenesis:objenesis:jar:1.0:test
> [INFO] +- org.springframework:spring-test:jar:3.1.4.RELEASE:test
> [INFO] +- org.slf4j:slf4j-api:jar:1.7.1:compile
> [INFO] +- org.slf4j:jcl-over-slf4j:jar:1.7.1:runtime
> [INFO] \- ch.qos.logback:logback-classic:jar:1.0.11:test
> [INFO]    \- ch.qos.logback:logback-core:jar:1.0.11:test
> 
> And by the way, there is a newer version of spring-data-neo4j. We should
> consider to upgrade?
> 
> Best,
> Christian
> -----------------
> 
> Software Integration Specialist
> 
> Apache Camel committer: https://camel.apache.org/team
> V.P. Apache Camel: https://www.apache.org/foundation/
> Apache Member: https://www.apache.org/foundation/members.html
> 
> https://www.linkedin.com/pub/christian-mueller/11/551/642
> 
> 
> On Sun, Sep 22, 2013 at 12:08 AM, Christian Müller <
> [email protected]> wrote:
> 
>> I made some progress, but still need some more time...
>> 
>> 
>> Best,
>> Christian
>> -----------------
>> 
>> Software Integration Specialist
>> 
>> Apache Camel committer: https://camel.apache.org/team
>> V.P. Apache Camel: https://www.apache.org/foundation/
>> Apache Member: https://www.apache.org/foundation/members.html
>> 
>> https://www.linkedin.com/pub/christian-mueller/11/551/642
>> 
>> 
>> On Fri, Sep 20, 2013 at 9:24 AM, Christoph Emmersberger <
>> [email protected]> wrote:
>> 
>>> Just as an additional starting point: Claus mentioned the Spring Data
>>> dependencies in this thread:
>>> http://camel.465427.n5.nabble.com/DISCUSS-Rename-camel-redis-and-camel-neo4j-to-include-spring-in-their-name-td5728870.html
>>> 
>>> - Christoph
>>> 
>>> On Sep 20, 2013, at 8:28 AM, Christian Müller <
>>> [email protected]> wrote:
>>> 
>>>> Will have a look at the weekend.
>>>> 
>>>> Best,
>>>> Christian
>>>> Am 20.09.2013 07:57 schrieb "Christoph Emmersberger" <
>>>> [email protected]>:
>>>> 
>>>>> Dear all,
>>>>> 
>>>>> I'm currently facing some issues when installing the
>>> 'camel-spring-neo4j'
>>>>> component, currently available as 2.11-SNAPSHOT version. I've seen,
>>> that
>>>>> the feature is incomplete, and wanted to fix this. However, it turns
>>> out,
>>>>> when resolving one dependency, the next pulls.
>>>>> 
>>>>> So my basic question is, if anyone has been able to install the
>>> component
>>>>> on Karaf?
>>>>> 
>>>>> It may be, that the entire issue is much more simple when getting the
>>>>> right spring-data dependency in place. However, I did not find the
>>>>> appropriate.
>>>>> 
>>>>> Please see the errors that I've been getting:
>>>>> 
>>>>> Error executing command: Could not start bundle
>>>>> mvn:org.apache-extras.camel-extra/camel-spring-neo4j/2.11-SNAPSHOT in
>>>>> feature(s) camel-spring-neo4j-2.11-SNAPSHOT: Unresolved constraint in
>>>>> bundle org.apache-extras.camel-extra.camel-spring-neo4j [54]: Unable to
>>>>> resolve 54.0: missing requirement [54.0] osgi.wiring.package;
>>>>> 
>>> (&(osgi.wiring.package=org.apache.camel)(version>=2.11.0)(!(version>=2.12.0)))
>>>>> FIX: <feature version='${camel-version}'>camel</feature>
>>>>> 
>>>>> Error executing command: Could not start bundle
>>>>> mvn:org.apache-extras.camel-extra/camel-spring-neo4j/2.11-SNAPSHOT in
>>>>> feature(s) camel-spring-neo4j-2.11-SNAPSHOT: Unresolved constraint in
>>>>> bundle org.apache-extras.camel-extra.camel-spring-neo4j [79]: Unable to
>>>>> resolve 79.0: missing requirement [79.0] osgi.wiring.package;
>>>>> (osgi.wiring.package=org.neo4j.graphdb)
>>>>> ATTEMPTED FIX:
>>>>> <bundle>wrap:mvn:org.neo4j/neo4j-kernel/${neo4j-version}</bundle>
>>>>> 
>>>>> Error executing command: Could not start bundle
>>>>> mvn:org.apache-extras.camel-extra/camel-spring-neo4j/2.11-SNAPSHOT in
>>>>> feature(s) camel-spring-neo4j-2.11-SNAPSHOT: Unresolved constraint in
>>>>> bundle org.apache-extras.camel-extra.camel-spring-neo4j [105]: Unable
>>> to
>>>>> resolve 105.0: missing requirement [105.0] osgi.wiring.package;
>>>>> 
>>> (&(osgi.wiring.package=org.springframework.data.neo4j.core)(version>=2.2.0)(!(version>=3.0.0)))
>>>>> ATTEMPTED FIX:
>>>>> 
>>> <bundle>mvn:org.springframework.data/spring-data-neo4j/${spring-neo4j-version}</bundle>
>>>>> 
>>>>> Error executing command: Could not start bundle
>>>>> mvn:org.springframework.data/spring-data-neo4j/2.2.1.RELEASE in
>>> feature(s)
>>>>> camel-spring-neo4j-2.11-SNAPSHOT: Unresolved constraint in bundle
>>>>> org.springframework.data.neo4j [131]: Unable to resolve 131.0: missing
>>>>> requirement [131.0] osgi.wiring.package;
>>>>> (&(osgi.wiring.package=com.mysema.query.annotations)(version>=0.0.0))
>>>>> ATTEMPTED FIX:
>>>>> 
>>> <bundle>wrap:mvn:com.mysema.querydsl/querydsl-apt/${querydsl-version}</bundle>
>>>>> 
>>>>> Error executing command: Could not start bundle
>>>>> wrap:mvn:com.mysema.querydsl/querydsl-apt/2.9.0 in feature(s)
>>>>> camel-spring-neo4j-2.11-SNAPSHOT: Unresolved constraint in bundle
>>>>> com.mysema.querydsl.apt [158]: Unable to resolve 158.0: missing
>>> requirement
>>>>> [158.0] osgi.wiring.package;
>>>>> (&(osgi.wiring.package=com.google.common.base)(version>=11.0.2))
>>>>> ATTEMPTED FIX:
>>>>> <bundle>wrap:mvn:com.google.guava/guava/${guava-version}</bundle>
>>>>> 
>>>>> So I ended up having the following feature configuration:
>>>>> 
>>>>>   <feature name='camel-spring-neo4j' version='${project.version}'
>>>>> resolver='(obr)' start-level='50'>
>>>>>     <feature version='${camel-version}'>camel</feature>
>>>>>     <bundle>wrap:mvn:org.neo4j/neo4j-kernel/${neo4j-version}</bundle>
>>>>>     <bundle>wrap:mvn:com.google.guava/guava/${guava-version}</bundle>
>>>>> 
>>>>> 
>>> <bundle>wrap:mvn:com.mysema.querydsl/querydsl-apt/${querydsl-version}</bundle>
>>>>> 
>>>>> 
>>> <bundle>mvn:org.springframework.data/spring-data-neo4j/${spring-neo4j-version}</bundle>
>>>>> 
>>>>> 
>>> <bundle>mvn:org.apache-extras.camel-extra/camel-spring-neo4j/${project.version}</bundle>
>>>>>   </feature>
>>>>> 
>>>>> However, I'm still getting the following error:
>>>>> 
>>>>> Error executing command: Could not start bundle
>>>>> wrap:mvn:com.mysema.querydsl/querydsl-core/2.9.0 in feature(s)
>>>>> camel-spring-neo4j-2.11-SNAPSHOT: Unresolved constraint in bundle
>>>>> com.mysema.querydsl.core [186]: Unable to resolve 186.0: missing
>>>>> requirement [186.0] osgi.wiring.package;
>>>>> (&(osgi.wiring.package=com.google.common.base)(version>=11.0.2))
>>>>> 
>>>>> Hope that someone can support me with this issue.
>>>>> 
>>>>> Many thanks and kind regards,
>>>>> 
>>>>> Christoph
>>> 
>>> 
>> 

Reply via email to