Maven 指定仓库
官网介绍 https://maven.apache.org/guides/mini/guide-multiple-repositories.html
一般在parent pom中通过<repositories>定制该project仓库地址,该配置会被继承
同时也可在settings.xml中创建一个profile,并通过activeProfiles来开启
本文介绍了如何在Maven项目中配置仓库地址。通常情况下,可以通过在父POM文件中使用<repositories>元素来定制仓库地址,这样的配置会被子项目继承。另外,也可以在settings.xml文件中设置profile并通过activeProfiles激活特定的仓库配置。
官网介绍 https://maven.apache.org/guides/mini/guide-multiple-repositories.html
一般在parent pom中通过<repositories>定制该project仓库地址,该配置会被继承
同时也可在settings.xml中创建一个profile,并通过activeProfiles来开启
1316

被折叠的 条评论
为什么被折叠?
