解决IDEA中maven-plugins标红的方法


最近在用IDEA搞web项目,使用maven时遇到plugins标红的情况:

自认为公司的网轻松搞定,结果实践中总也不成功

各种File--setting--Maven设置

各种Project--Structure--Library操作

直到想起来,maven中央仓库的镜像可能坑了我

换到阿里的mirror,真顺畅。。。。

记录下吧,不枉费折腾了2小时

D:\apache-maven-3.5.4\conf--setting.xml 添加阿里的中央仓库

    <mirror>
    <id>nexus-aliyun</id>
    <mirrorOf>*</mirrorOf>
    <name>Nexus aliyun</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>

重启IDEA,风轻云淡


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM