Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
250 views
in Technique[技术] by (71.8m points)

Maven build error - neo4j-embedded python

I'm attempting to build the latest Embedded Neo4j Python bindings, cloned from https://github.com/neo4j-contrib/python-embedded.git. This is my first attempt at building a project using Maven, so I could just be missing something simple.

Reading the project docs, I ran mvn package which led to dependency errors, the verbose output is pasted here, http://pastebin.com/CBr2XXqQ

Some advice led me to try mvn install which seemed to download some dependency POM files, yet there is still a build error, citing an unresolved artifact for org.neo4j:neo4j:jar:1.9-SNAPSHOT, org.neo4j:neo4j-cypher:jar:1.9-SNAPSHOT, http://pastebin.com/cGLNWnxU

Can someone shed some light on how to best resolve this?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Not familiar with this particular project, but I have worked with Maven in the past. I notice that the 1.9-SNAPSHOT version of neo4j is no longer available. Try this: in the root of the source tree, find the file pom.xml. Change the following line:

<neo4j.version>1.9-SNAPSHOT</neo4j.version>

to this:

<neo4j.version>1.9</neo4j.version>

And run "mvn install" again. Hopefully there won't be any compatibility issues between the snapshots and release of version 1.9.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...