Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源代码拉下来编译不通过 #1

Open
chinaer opened this issue Mar 25, 2016 · 18 comments
Open

源代码拉下来编译不通过 #1

chinaer opened this issue Mar 25, 2016 · 18 comments
Assignees
Labels

Comments

@chinaer
Copy link

chinaer commented Mar 25, 2016

The project com.wandoulabs.nedis:codis-client:0.2.0-SNAPSHOT (D:\nedis\codis-client\pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Failure to find com.wandoulabs.nedis:nedis:pom:0.1.2-SNAPSHOT

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

啊,应该是pom改漏了。。。

@Apache9 Apache9 added the bug label Mar 25, 2016
@Apache9 Apache9 self-assigned this Mar 25, 2016
@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

我想跑一下源码学习学习,怎么办呢?@Apache9 能给解决一下吗? 感觉就是pom的问题,应该很快能解决吧,tks

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

改了,你pull一下再试试

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

还是不行 'gpg.exe' 不是内部或外部命令,也不是可运行的程序
或批处理文件。 @Apache9

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

mvn编译加上-Dgpg.skip

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

我加上-Dgpg.skip 跳过test,之后报错
Failed to execute goal on project codis-client: Could not resolve dependencies for project io.codis.nedis:codis-client:jar:0.2.0-SNAPSHOT @Apache9

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

mvn clean install -DskipTests -Dgpg.skip
这样不行么。。。

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

对啊,成功两个,到codis-client 失败了,报错如上面@Apache9

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

你贴全一点儿?哪些dependencies找不到?

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

Failed to execute goal on project codis-client: Could not resolve dependencies for project io.codis.nedis:codis-client:jar:0.2.0-SNAPSHOT: Could not find artifact io.codis.nedis:nedis-client:jar:tests:0.2.0-SNAPSHOT in nexus (http://192.168.1.45:8081/nexus/content/groups/public/) -> [Help 1] 这么多了@Apache9

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

你确定你敲的命令是我上面写的那样的吗?看起来是你没有编tests啊。。。

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

你这个还需要编译test类啊?我没有编译,就是这个原因@Apache9 通过了

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

codis-client要依赖nedis-client的test-jar

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin:0.7.4.201502262128:prepare-agent
(execution: default-prepare-agent, phase: initialize) @Apache9 pom文件提示这个错误

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

你敲的mvn命令是啥样的?

@Apache9
Copy link
Member

Apache9 commented Mar 25, 2016

那不知道了我用的是3.2.1

@chinaer
Copy link
Author

chinaer commented Mar 25, 2016

好像和
org.jacoco
jacoco-maven-plugin
0.7.4.201502262128
有关@Apache9

@caoguofeng92
Copy link

mvn clean install -DskipTests -Dgpg.skip
这样不行么。。。

这样是可以的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants