nedis icon indicating copy to clipboard operation
nedis copied to clipboard

源代码拉下来编译不通过

Open chinaer opened this issue 8 years ago • 18 comments

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

chinaer avatar Mar 25 '16 06:03 chinaer

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

Apache9 avatar Mar 25 '16 07:03 Apache9

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

chinaer avatar Mar 25 '16 07:03 chinaer

改了,你pull一下再试试

Apache9 avatar Mar 25 '16 07:03 Apache9

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

chinaer avatar Mar 25 '16 07:03 chinaer

mvn编译加上-Dgpg.skip

Apache9 avatar Mar 25 '16 07:03 Apache9

我加上-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

chinaer avatar Mar 25 '16 07:03 chinaer

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

Apache9 avatar Mar 25 '16 07:03 Apache9

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

chinaer avatar Mar 25 '16 07:03 chinaer

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

Apache9 avatar Mar 25 '16 07:03 Apache9

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

chinaer avatar Mar 25 '16 07:03 chinaer

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

Apache9 avatar Mar 25 '16 07:03 Apache9

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

chinaer avatar Mar 25 '16 07:03 chinaer

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

Apache9 avatar Mar 25 '16 07:03 Apache9

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文件提示这个错误

chinaer avatar Mar 25 '16 07:03 chinaer

你敲的mvn命令是啥样的?

Apache9 avatar Mar 25 '16 07:03 Apache9

那不知道了我用的是3.2.1

Apache9 avatar Mar 25 '16 08:03 Apache9

好像和 <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> 0.7.4.201502262128 有关@Apache9

chinaer avatar Mar 25 '16 08:03 chinaer

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

这样是可以的

caoguofeng92 avatar Apr 20 '20 15:04 caoguofeng92