国内maven仓库镜像地址

    阿里云:http://maven.aliyun.com/

    中央仓库:https://repo1.maven.org/maven2/

    网易:http://maven.netease.com/repository/public/

    华为云:https://repo.huaweicloud.com/repository/maven/

    tencent:https://mirrors.cloud.tencent.com/repository/maven/

    中国科技大学:http://mirrors.ustc.edu.cn/maven/maven2/

    南京大学:http://maven.nju.edu.cn/repository/

    清华大学:https://repo.maven.apache.org/maven2/

    北京理工大学:http://mirror.bit.edu.cn/maven/

    东软信息学院:https://mirrors.neusoft.edu.cn/maven2/

    中国科学院开源协会:http://maven.opencas.cn/maven/

    北京交通大学:http://maven.bjtu.edu.cn/maven2/
 

<mirrors>
  <mirror>
    <id>aliyun</id>
    <url>http://maven.aliyun.com/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>central</id>
    <url>https://repo1.maven.org/maven2/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>netease</id>
    <url>http://maven.netease.com/repository/public/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>huaweicloud</id>
    <url>https://repo.huaweicloud.com/repository/maven/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>tencent</id>
    <url>https://mirrors.cloud.tencent.com/repository/maven/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>ustc</id>
    <url>http://mirrors.ustc.edu.cn/maven/maven2/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>nju</id>
    <url>http://maven.nju.edu.cn/repository/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>tsinghua</id>
    <url>https://repo.maven.apache.org/maven2/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>bit</id>
    <url>http://mirror.bit.edu.cn/maven/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>neusoft</id>
    <url>https://mirrors.neusoft.edu.cn/maven2/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>opencas</id>
    <url>http://maven.opencas.cn/maven/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
  <mirror>
    <id>bjtu</id>
    <url>http://maven.bjtu.edu.cn/maven2/</url>
    <mirrorOf>central</mirrorOf>
  </mirror>
</mirrors>

常用maven:

<!-- JavaFX -->    
<!-- dependency 配置某一具体依赖关系 -->
    <dependency>
      <!-- 依赖关系的坐标信息 -->
      <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-fxml -->
      <groupId>org.openjfx</groupId>
      <artifactId>javafx-fxml</artifactId>
      <version>17.0.2</version>
    </dependency>
    
    <dependency>
      <!-- https://mvnrepository.com/artifact/org.openjfx/javafx-controls -->
      <groupId>org.openjfx</groupId>
      <artifactId>javafx-controls</artifactId>
      <version>17.0.2</version>
    </dependency>

猜你喜欢

转载自blog.csdn.net/weiweiqiao/article/details/131597797