Java 使用neo4j构建问题。

Java 使用neo4j构建问题。,java,build,neo4j,Java,Build,Neo4j,我正在尝试构建Neo4J,我已经从github下载了源代码:Neo4J master.zip 包含来源 当我构建它时,我遇到了以下错误。试图在谷歌找到答案,但 无法提供相关的细节,我对这个产品是新手,我肯定我错过了一些东西 与.git相关,如果发现此问题,任何人都可以帮助我 Messages from Maven: [INFO] Neo4j ............................................. SUCCESS [8.300s] [INFO] Licensi

我正在尝试构建
Neo4J
,我已经从github下载了源代码:
Neo4J master.zip
包含来源

当我构建它时,我遇到了以下错误。试图在谷歌找到答案,但 无法提供相关的细节,我对这个产品是新手,我肯定我错过了一些东西 与
.git
相关,如果发现此问题,任何人都可以帮助我

Messages from Maven:

[INFO] Neo4j ............................................. SUCCESS [8.300s]
[INFO] Licensing configuration ........................... SUCCESS [3.338s]
[INFO] Neo4j - Graph Database Kernel ..................... FAILURE [2.371s]
.
.
.
.
[ERROR] Failed to execute goal pl.project13.maven:git-commit-id-plugin:2.1.4:rev
ision (generate-git-hash) on project neo4j-kernel: .git directory could not be f
ound! Please specify a valid [dotGitDirectory] in your pom.xml -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionE
xception
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

我正在使用mvn clean install命令启动构建。似乎缺少
.git
目录,我无法找到是否需要包含任何插件。

不需要从源代码构建。由于您似乎使用maven,因此可以将以下内容添加到依赖项列表中:

<dependency>
<groupId>org.neo4j</groupId>
<artifactId>neo4j</artifactId>
<version>1.8.2</version>
</dependency>

org.neo4j
neo4j
1.8.2

我可以问一下您为什么要从源代码进行构建吗?我正在尝试设置此产品的构建环境,我正在尝试探索该产品。感谢tstorms,我可以继续进行,这是因为我没有从github克隆代码,在克隆完代码后,我可以继续进行。很好,但是为什么您要自己构建代码?你打补丁了吗?