Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
258 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...