jenkins 打包 [ERROR] Failed to execute goal on project clue: Could not resolve dependencies for projec
Dependencies
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
项目地址:https://gitcode.com/gh_mirrors/de/Dependencies
免费下载资源
·
err:pom里面jar包版本升级,Jenkins打包过程中找不到c3p0 jar包
[ERROR] Failed to execute goal on project clue: Could not resolve dependencies for project cn.**:**:war:0.0.1-SNAPSHOT: Could not find artifact c3p0:c3p0:jar:0.9.5.4 in central (http://******/nexus/content/groups/public) -> [Help 1]
解决:pom jar包升级,例如:c3p0.jar
0.9.1.1版本写法是这样
<dependency>
<groupId>c3p0</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.1.1</version>
</dependency>
0.9.2.2版本之后写法是这样
<dependency>
<groupId>com.mchange</groupId>
<artifactId>c3p0</artifactId>
<version>0.9.5.4</version>
</dependency>
jar包版本升级原来养成的习惯只是升级version,有些jar在升级过程有会修改groupId。这次真tm长教训了,粗心大意浪费时间
问题解决说明地址:https://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
这个地址其实已经明确告诉了:配置的存储库需要身份验证,并且Maven无法向服务器提供正确的凭据。在这种情况下,请确保您${user.home}/.m2/settings.xml
包含一个<server>
声明,该声明<id>
与<id>
要使用的远程存储库的匹配
GitHub 加速计划 / de / Dependencies
8.61 K
704
下载
A rewrite of the old legacy software "depends.exe" in C# for Windows devs to troubleshoot dll load dependencies issues.
最近提交(Master分支:3 个月前 )
1997a400 - 2 年前
2f423539 - 2 年前
更多推荐
已为社区贡献3条内容
所有评论(0)