其他分享
首页 > 其他分享> > Could not transfer artifact XXXX from/to maven-default-http-blocker (http://0.0.0.0/)

Could not transfer artifact XXXX from/to maven-default-http-blocker (http://0.0.0.0/)

作者:互联网

多模块项目,打包时,报的错误信息:
Could not transfer artifact XXXX from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [alimaven (http://maven.aliyun.com/nexus/content/groups/public/, default, releases+snapshots), nexus (http://nexus.hepengju.cn:8081/nexus/content/groups/public/, default, releases+snapshots)]

解决方案:删除子模块(module)中所有<parent>标签中的<relativePath/>标签
<relativePath/> 默认表示将始终从父级仓库中获取,不从本地路径获取

标签:XXXX,nexus,0.0,maven,default,groups,http
来源: https://blog.csdn.net/qq_30505421/article/details/122858825