Maven无法从nexus下载jar

时间:2019-12-17 01:13:43

标签: maven

有一些薄煎饼

        [ERROR] Failed to execute goal on project vinsuan-road-platform-comm: Could not resolve dependencies for project com.vinsuan.road.paltform:vinsuan-road-platform-comm:jar:1.0-SNAPSHOT: Failed to collect dependencies at com.vinsuan4cloud:vinsuan-common-core:jar:1.0.0: Failed to read artifact descriptor for com.vinsuan4cloud:vinsuan-common-core:jar:1.0.0: Failure to find com.vinsuan4cloud:vinsuan:pom:1.0.0 in http://xxx.xxx.xxx.xxx:9981/repository/sps_group/ was cached in the local repository, resolution will not be reattempted until the update interval of sps_group 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 <goals> -rf :vinsuan-road-platform-comm`enter code here`

http://xxx.xxx.xxx.xxx:9981不在公司的连结网址,对不起。

然后我发现了一些类似的问题,他们的答案是版本不匹配,但是,vinsuan-common-core.jar只有一个版本,所以我不知道我使用了一些操作,例如clean,compile,install ,mvnDependeny:来源,但要指出错误的地方。

1 个答案:

答案 0 :(得分:0)

错误显示Failure to find com.vinsuan4cloud:vinsuan:pom:1.0.0。仓库中pom旁边应该有一个jar文件,以便maven能够解决依赖关系

相关问题