Thanks Michael for the quick answer.

You were right basically I only needed neo4j-ogm for all the annotations in 
the domain/model of the nodes and relationships, spn4 and some http 
specific libs like httpcore-4.3.3 and httpcore-4.3.6.

I guess thats one of the main issues with dependency tools, if you only 
want to use a certain part of a lib maven still isn't that clever to 
evaluate the actual needed dependencies, it fetches all dependencies. I 
know that I can exclude libs by hand, but still it would be neat if 
dependency tools are that clever. 
Anyway you did a great job with sdn4 thanks a lot.

cheers 
Stefan

Am Montag, 23. November 2015 17:03:37 UTC+1 schrieb Michael Hunger:
>
> Can you share your pom.xml ?
>
> neo4j-ogm and SDN 4 should not pull in Neo4j at all.
>
> As they only work via http, it feels as if the test-dependencies are 
> configured here as normal dependencies ....
>
> Could you try to add a dependency on org.neo4j:neo4j-ogm:1.1.4-SNAPSHOT
>
> It contains a number of fixes and will be released soon.
>
> Michael
>
>
> Am 23.11.2015 um 14:06 schrieb Stefan Sevelda <[email protected] 
> <javascript:>>:
>
> Hi,
>
> At the moment spring data neo4j 4.0.0 fetches 61 dependent jars 
>
>  \- org.springframework.data:spring-data-neo4j:jar:4.0.0.RELEASE:compile
>     +- org.neo4j:neo4j-ogm:jar:1.1.2:compile
>     |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.5.1:compile
>     |  |  +- 
> com.fasterxml.jackson.core:jackson-annotations:jar:2.5.0:compile
>     |  |  \- com.fasterxml.jackson.core:jackson-core:jar:2.5.1:compile
>     |  +- org.apache.httpcomponents:httpclient:jar:4.3.6:compile
>     |  |  +- org.apache.httpcomponents:httpcore:jar:4.3.3:compile
>     |  |  +- commons-logging:commons-logging:jar:1.1.3:compile
>     |  |  \- commons-codec:commons-codec:jar:1.6:compile
>     |  +- org.neo4j:neo4j:jar:2.2.5:compile
>     |  |  +- org.neo4j:neo4j-kernel:jar:2.2.5:compile
>     |  |  |  +- org.neo4j:neo4j-primitive-collections:jar:2.2.5:compile
>     |  |  |  |  \- org.neo4j:neo4j-unsafe:jar:2.2.5:compile
>     |  |  |  +- org.neo4j:neo4j-io:jar:2.2.5:compile
>     |  |  |  \- org.neo4j:neo4j-csv:jar:2.2.5:compile
>     |  |  +- org.neo4j:neo4j-lucene-index:jar:2.2.5:compile
>     |  |  |  \- org.apache.lucene:lucene-core:jar:3.6.2:compile
>     |  |  +- org.neo4j:neo4j-graph-algo:jar:2.2.5:compile
>     |  |  +- org.neo4j:neo4j-udc:jar:2.2.5:compile
>     |  |  +- org.neo4j:neo4j-graph-matching:jar:2.2.5:compile
>     |  |  +- org.neo4j:neo4j-cypher:jar:2.2.5:compile
>     |  |  |  +- org.scala-lang:scala-library:jar:2.10.5:compile
>     |  |  |  +- org.scala-lang:scala-reflect:jar:2.10.5:compile
>     |  |  |  +- org.neo4j:neo4j-cypher-compiler-1.9:jar:2.0.4:compile
>     |  |  |  +- org.neo4j:neo4j-cypher-compiler-2.0:jar:2.0.4:compile
>     |  |  |  +- org.neo4j:neo4j-cypher-compiler-2.1:jar:2.1.8:compile
>     |  |  |  +- org.neo4j:neo4j-cypher-compiler-2.2:jar:2.2.5:compile
>     |  |  |  +- org.parboiled:parboiled-scala_2.10:jar:1.1.7:compile
>     |  |  |  |  \- org.parboiled:parboiled-core:jar:1.1.7:compile
>     |  |  |  +- net.sf.opencsv:opencsv:jar:2.3:compile
>     |  |  |  \- 
> com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru
>     |  |  +- org.neo4j:neo4j-jmx:jar:2.2.5:compile
>     |  |  \- org.neo4j:neo4j-consistency-check:jar:2.2.5:compile
>     |  +- org.neo4j.app:neo4j-server:jar:2.2.5:compile
>     |  |  +- org.neo4j:neo4j:pom:2.2.5:compile
>     |  |  +- org.neo4j:server-api:jar:2.2.5:compile
>     |  |  |  \- 
> org.neo4j.3rdparty.javax.ws.rs:jsr311-api:jar:1.1.2.r612:compile
>     |  |  +- org.neo4j.app:neo4j-browser:jar:2.2.5:compile
>     |  |  +- ch.qos.logback:logback-classic:jar:1.1.2:compile
>     |  |  |  \- ch.qos.logback:logback-core:jar:1.1.2:compile
>     |  |  +- ch.qos.logback:logback-access:jar:1.1.2:compile
>     |  |  +- org.codehaus.janino:janino:jar:2.6.1:compile
>     |  |  |  \- org.codehaus.janino:commons-compiler:jar:2.6.1:compile
>     |  |  +- org.eclipse.jetty:jetty-server:jar:9.2.4.v20141103:compile
>     |  |  |  +- javax.servlet:javax.servlet-api:jar:3.1.0:compile
>     |  |  |  +- org.eclipse.jetty:jetty-http:jar:9.2.4.v20141103:compile
>     |  |  |  |  \- org.eclipse.jetty:jetty-util:jar:9.2.4.v20141103:compile
>     |  |  |  \- org.eclipse.jetty:jetty-io:jar:9.2.4.v20141103:compile
>     |  |  +- org.eclipse.jetty:jetty-webapp:jar:9.2.4.v20141103:compile
>     |  |  |  +- org.eclipse.jetty:jetty-xml:jar:9.2.4.v20141103:compile
>     |  |  |  \- org.eclipse.jetty:jetty-servlet:jar:9.2.4.v20141103:compile
>     |  |  |     \- 
> org.eclipse.jetty:jetty-security:jar:9.2.4.v20141103:compile
>     |  |  +- com.sun.jersey:jersey-server:jar:1.19:compile
>     |  |  |  \- com.sun.jersey:jersey-core:jar:1.19:compile
>     |  |  +- com.sun.jersey:jersey-servlet:jar:1.19:compile
>     |  |  +- commons-configuration:commons-configuration:jar:1.10:compile
>     |  |  +- commons-digester:commons-digester:jar:2.1:compile
>     |  |  |  \- commons-beanutils:commons-beanutils:jar:1.8.3:compile
>     |  |  +- commons-io:commons-io:jar:2.4:compile
>     |  |  +- org.codehaus.jackson:jackson-jaxrs:jar:1.9.13:compile
>     |  |  |  +- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
>     |  |  |  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
>     |  |  +- org.rrd4j:rrd4j:jar:2.2:compile
>     |  |  +- org.mozilla:rhino:jar:1.7R4:compile
>     |  |  +- bouncycastle:bcprov-jdk16:jar:140:compile
>     |  |  +- com.sun.jersey.contribs:jersey-multipart:jar:1.19:compile
>     |  |  |  \- org.jvnet.mimepull:mimepull:jar:1.9.3:compile
>     |  |  \- org.neo4j:neo4j-shell:jar:2.2.5:compile
>     |  |     \- 
> org.apache.servicemix.bundles:org.apache.servicemix.bundles.jline:
>     |  \- commons-lang:commons-lang:jar:2.6:compile
>     +- 
> org.springframework.data:spring-data-commons:jar:1.11.0.RELEASE:compile
>     |  +- org.springframework:spring-core:jar:4.1.7.RELEASE:compile
>     |  \- org.springframework:spring-beans:jar:4.1.7.RELEASE:compile
>     +- org.springframework:spring-context:jar:4.1.7.RELEASE:compile
>     |  +- org.springframework:spring-aop:jar:4.1.7.RELEASE:compile
>     |  |  \- aopalliance:aopalliance:jar:1.0:compile
>     |  \- org.springframework:spring-expression:jar:4.1.7.RELEASE:compile
>     +- org.springframework:spring-tx:jar:4.1.7.RELEASE:compile
>     +- org.slf4j:slf4j-api:jar:1.7.12:compile
>     \- org.slf4j:jcl-over-slf4j:jar:1.7.12:runtime
>
> In my case I access a remote neo4j instance and therefore I don't need any 
> jetty dependencies.
>
> What is the easiest way to find out, which jars are mandatory (used by 
> spring data neo4j in my application) and which are optional?
>
> Cheers Stefan  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to