疲劳是最舒适的枕头,努力工作吧。

gradle 构建elasticsearch 报错

Elasticsearch | 作者 dixingxing | 发布于2017年05月22日 | 阅读数:4129

我下载了elasticsearch-5.2.2源码后, 直接运行gradle, 然后报下面的错,有人遇到过吗? 该怎么解决?
 
:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:writeVersionProperties UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
Repository https://jcenter.bintray.com/ replaced by http://maven.aliyun.com/nexus/ ... lic/.
=======================================
Elasticsearch Build Hamster says Hello!
=======================================
Gradle Version : 2.13
OS Info : Mac OS X 10.11.6 (x86_64)
JDK Version : Oracle Corporation 1.8.0_40 [Java HotSpot(TM) 64-Bit Server VM 25.40-b25]
JAVA_HOME : /Library/Java/JavaVirtualMachines/jdk1.8.0_40.jdk/Contents/Home
Repository https://repo1.maven.org/maven2/ replaced by http://maven.aliyun.com/nexus/ ... lic/.
Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':build-tools'.
> Failed to notify project evaluation listener.
> svn: E155010: The node '/Users/dijingran/IdeaProjects/elasticsearch-5.2.2/buildSrc' was not found.
> svn: E155010: The node '/Users/dijingran/IdeaProjects/elasticsearch-5.2.2/buildSrc' was not found.
> svn: E155010: The node '/Users/dijingran/IdeaProjects/elasticsearch-5.2.2/buildSrc' was not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 9.738 secs
已邀请:

dixingxing

赞同来自:

注释掉 scm相关配置后ok了。
 

// apply plugin: 'nebula.maven-scm'
 

要回复问题请先登录注册