Maven构建错误-Neo4j嵌入式Python [英] Maven build error - neo4j-embedded python

查看:122
本文介绍了Maven构建错误-Neo4j嵌入式Python的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建从 https:/克隆的最新嵌入式Neo4j Python绑定. /github.com/neo4j-contrib/python-embedded.git .这是我第一次尝试使用Maven构建项目,因此我可能会缺少一些简单的东西.

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.

在阅读项目文档时,我运行了mvn package,该错误导致了依赖项错误,详细输出粘贴在这里, http://pastebin.com/CBr2XXqQ

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

一些建议使我尝试mvn install,它似乎下载了一些依赖的POM文件,但是仍然存在构建错误,引用了org.neo4j:neo4j:jar:1.9-SNAPSHOT, org.neo4j:neo4j-cypher:jar:1.9-SNAPSHOT

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?

推荐答案

不熟悉此特定项目,但我过去曾与Maven合作.我注意到neo4j的1.9-SNAPSHOT版本不再可用.尝试以下操作:在源树的根目录中,找到文件pom.xml.更改以下行:

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>

对此:

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

然后再次运行"mvn install".希望快照和1.9版之间不会存在任何兼容性问题.

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

这篇关于Maven构建错误-Neo4j嵌入式Python的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆