Adding maven repo in IntelliJ

前端 未结 2 1865
遥遥无期
遥遥无期 2020-12-30 02:45

I\'m having trouble adding this repo http://repo1.maven.org/maven2/ under Settings > Maven > Repositories. It also says Nexus Service or Artifactory URL. How can I check if

2条回答
  •  旧时难觅i
    2020-12-30 03:25

    This repository is already used by default and is hardcoded, you don't need to add it manually. If you want to use any other repository, the easiest way would be to define it directly in the pom.xml file or in your settings.xml. In either way IDEA will load these settings automatically.

提交回复
热议问题