pom文件配置指定阿里云maven镜像

一时失言乱红尘 2023-09-30 13:43 84阅读 0赞
  1. <repositories>
  2. <repository>
  3. <id>nexus-aliyun</id>
  4. <name>nexus-aliyun</name>
  5. <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
  6. <releases>
  7. <enabled>true</enabled>
  8. </releases>
  9. <snapshots>
  10. <enabled>false</enabled>
  11. </snapshots>
  12. </repository>
  13. </repositories>

有时候 spring-boot-starter-parent中版本会报红,需要清掉idea缓存重启试一试

发表评论

表情:
评论列表 (有 0 条评论,84人围观)

还没有评论,来说两句吧...

相关阅读