Skip to content

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

Open
@chinaer

Description

@chinaer

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

Activity

Apache9

Apache9 commented on Mar 25, 2016

@Apache9
Member

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

self-assigned this
on Mar 25, 2016
chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9

Apache9 commented on Mar 25, 2016

@Apache9
Member

改了,你pull一下再试试

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9

Apache9 commented on Mar 25, 2016

@Apache9
Member

mvn编译加上-Dgpg.skip

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9 commented on Mar 25, 2016

@Apache9
Member

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

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9

Apache9 commented on Mar 25, 2016

@Apache9
Member

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

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9 commented on Mar 25, 2016

@Apache9
Member

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

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9

Apache9 commented on Mar 25, 2016

@Apache9
Member

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

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

Apache9 commented on Mar 25, 2016

@Apache9
Member

你敲的mvn命令是啥样的?

Apache9

Apache9 commented on Mar 25, 2016

@Apache9
Member

那不知道了我用的是3.2.1

chinaer

chinaer commented on Mar 25, 2016

@chinaer
Author

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

caoguofeng92

caoguofeng92 commented on Apr 20, 2020

@caoguofeng92

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

这样是可以的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

    Participants

    @Apache9@chinaer@caoguofeng92

    Issue actions

      源代码拉下来编译不通过 · Issue #1 · CodisLabs/nedis