NutzCN Logo
问答 nutzbook用mvn安装时发生的错误
发布于 2270天前 作者 qq_93105859 1515 次浏览 复制 上一个帖子 下一个帖子
标签:
Downloading from nexusmirro: http://192.168.2.183:8081/nexus/content/groups/publ
ic/org/nutz/nutz/1.r.67-SNAPSHOT/maven-metadata.xml
Downloading from nexusmirro: http://192.168.2.183:8081/nexus/content/groups/publ
ic/org/nutz/nutz/1.r.67-SNAPSHOT/nutz-1.r.67-SNAPSHOT.pom
[WARNING] The POM for org.nutz:nutz:jar:1.r.67-SNAPSHOT is missing, no dependenc
y information available
Downloading from nexusmirro: http://192.168.2.183:8081/nexus/content/groups/publ
ic/org/nutz/nutz/1.r.67-SNAPSHOT/nutz-1.r.67-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] NutzCN的根项目 3.1.0 ................................... FAILURE [  1.016
 s]
[INFO] nutzcn-core ........................................ SKIPPED
[INFO] nutzcn-adminlte .................................... SKIPPED
[INFO] nutzcn-webapp ...................................... SKIPPED
[INFO] nutzcn-yvr ......................................... SKIPPED
[INFO] nutzcn-oauth ....................................... SKIPPED
[INFO] nutzcn-ngrok ....................................... SKIPPED
[INFO] nutzcn-beepay ...................................... SKIPPED
[INFO] nutzcn-webhook ..................................... SKIPPED
[INFO] nutzcn-dwmaster .................................... SKIPPED
[INFO] nutzcn-sysinfo ..................................... SKIPPED
[INFO] nutzcn-shortit ..................................... SKIPPED
[INFO] nutzcn-weixin ...................................... SKIPPED
[INFO] nutzcn-qqrobot ..................................... SKIPPED
[INFO] nutzcn-cxfdemo ..................................... SKIPPED
[INFO] nutzcn-swagger ..................................... SKIPPED
[INFO] nutzcn-uflo ........................................ SKIPPED
[INFO] nutzcn-starter 3.1.0 ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.671 s
[INFO] Finished at: 2018-08-28T17:35:39+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nutzcn-parent: Could not resolve depen
dencies for project net.wendal.nutzcn:nutzcn-parent:pom:3.1.0: Could not find ar
tifact org.nutz:nutz:jar:1.r.67-SNAPSHOT in nexusmirro (http://192.168.2.183:808
1/nexus/content/groups/public/) -> [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/DependencyReso
lutionException

这是为什么呢?

4 回复

mirror配成星号了

[INFO] nutzcn-qqrobot ..................................... SUCCESS [  0.463 s]
[INFO] nutzcn-cxfdemo ..................................... SUCCESS [  2.716 s]
[INFO] nutzcn-swagger ..................................... FAILURE [  1.006 s]
[INFO] nutzcn-uflo ........................................ SKIPPED
[INFO] nutzcn-starter 3.1.0 ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.351 s
[INFO] Finished at: 2018-08-28T18:17:08+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project nutzcn-swagger: Could not resolve depe
ndencies for project net.wendal.nutzcn:nutzcn-swagger:jar:3.1.0: Failed to colle
ct dependencies at org.nutz:nutz-integration-swagger:jar:1.r.67-SNAPSHOT: Failed
 to read artifact descriptor for org.nutz:nutz-integration-swagger:jar:1.r.67-SN
APSHOT: Could not transfer artifact org.nutz:nutz-integration-swagger:pom:1.r.67
-SNAPSHOT from/to nutz (https://jfrog.nutz.cn/artifactory/jcenter): Failed to tr
ansfer file: https://jfrog.nutz.cn/artifactory/jcenter/org/nutz/nutz-integration
-swagger/1.r.67-SNAPSHOT/nutz-integration-swagger-1.r.67-SNAPSHOT.pom. Return co
de is: 409 , ReasonPhrase:Conflict. -> [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/DependencyReso
lutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :nutzcn-swagger

@wendal 还真是这个原因,改掉那个星号确实不一样了,不过还是有个问题。

你改成什么了? 贴settings.xml

添加回复
请先登陆
回到顶部