开发者社区> 问答> 正文

Maven nexus仓库管理 配置setting.xml 报错?报错

Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to releases (http://public): 192.168.1.180:8081/nexus: Unknown host 192.168.1.180:8081/nexus

展开
收起
爱吃鱼的程序员 2020-06-22 19:35:55 753 0
1 条回答
写回答
取消 提交回答
  • https://developer.aliyun.com/profile/5yerqm5bn5yqg?spm=a2c6h.12873639.0.0.6eae304abcjaIB

    repository地址不完整,应该如:<atarget="_blank"rel="nofollow">http://<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">192.168.1.180:8081/nexus/content/groups/public<divclass="ref">

    引用来自“guoyao”的答案

    <divclass=ref_body>repository地址不完整,应该如:<atarget="_blank"rel="nofollow">http://<spanstyle="font-family:微软雅黑,Verdana,sans-serif,宋体;font-size:14px;line-height:22px;background-color:#FFFFFF;">192.168.1.180:8081/nexus/content/groups/public有把profile添加到activeProfiles里面吗?怎么解决的,我跟你一样的问题,请教添加了,问题已解决,谢谢

    2020-06-22 19:36:12
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Project Fortis 立即下载
Build Your Next ApacheSparkJob 立即下载
低代码开发师(初级)实战教程 立即下载

相关实验场景

更多

相关镜像