一、该问题的重现步骤是什么?
mvn clean install 失败。
如何出现的:因为删除本地的maven资源库,重新使用maven导入的时候,发现私服上没有2.4.0的资源了。然后下载了blade-tool项目,自己生成了相关jar包。项目可以正常启动,但是在执行mvn clean install的时候失败。
二、你期待的结果是什么?实际看到的又是什么?
可以成功执行mvn clean install。进行打包
三、你正在使用的是什么产品,什么版本?在什么操作系统上?
blade-x cloud
2.4.0版本
linux操作系统,本地mac系统
四、请提供详细的错误堆栈信息,这很重要。
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.550 s
[INFO] Finished at: 2020-06-24T11:29:46+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project blade-auth: Could not resolve dependencies for project org.springblade:blade-auth:jar:2.4.0.RELEASE: Failure to find cn.zkml:common-service-api:jar:2.4.0.RELEASE in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not be reattempted until the update interval of alimaven has elapsed or updates are forced -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[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 read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn
五、若有更多详细信息,请在下面提供。
扫一扫访问 Blade技术社区 移动端