Using multiple repositories in Maven

后端 未结 4 1071
逝去的感伤
逝去的感伤 2021-01-12 06:57

I have a project that uses an internal repository and the central repository. Is there a way I can configure the settings.xml such that I can use both instead of just one? W

4条回答
  •  礼貌的吻别
    2021-01-12 07:40

    I found a working answer, which is to change the pom.xml instead and add remote repositories on the fly, as instructed by this link

    Thanks for the answers, folks, and I'd assume your suggestions can be useful for more complicated scenarios with more repositories and complex configurations.

提交回复
热议问题