在pom.xml中配置

<repositories>
        <!--for others-->
        <repository>
            <id>alimaven</id>
            <name>aliyun maven</name>
            <!--<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>-->
            <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
        </repository>
        <!--for testng repository 下载testng-->
        <repository>
            <id>jcenter</id>
            <name>bintray</name>
            <url>http://jcenter.bintray.com</url>
        </repository>
    </repositories>

 

相关文章:

  • 2021-11-18
  • 2022-12-23
  • 2021-07-28
  • 2021-07-26
  • 2021-09-03
  • 2021-05-28
  • 2021-05-05
  • 2021-08-21
猜你喜欢
  • 2021-07-01
  • 2022-12-23
  • 2021-04-14
  • 2021-04-27
  • 2022-12-23
  • 2021-09-26
相关资源
相似解决方案