Get the App
SLTechnology News&Howtos  ›  Servers  › 

Solve the problem of slow downloading dependent packages of IntelliJ IDEA maven libraries

Shulou Source: shulou.com Published: 2022-06-02 03:01:32 10月03日 Update

When I added the maven dependency package to pom.xml, I found that the download speed was very slow no matter whether I used to climb over the wall or not, and it was very distressing that 1m of stuff could be used for the next half of the day, so I searched the Internet for information and let me find it. It can be said that Ali's maven image is used. So I tried it myself and flew fast!

Right-click the project and select the maven option, then select "open settings.xml" or "create settings.xml", and then paste the following code into it. Restart IDE and feel what it feels like to fly!

Alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central uk central Human Readable Name for this Mirror. Http://uk.maven.org/maven2/ CN OSChina Central http://maven.oschina.net/content/groups/public/ central nexus internal nexus repository http://repo.maven.apache.org/maven2 central

The above article to solve the problem of slow downloading dependent packages of the IntelliJ IDEA maven library is all the content shared by the editor. I hope I can give you a reference and support it.

Tags: Speed flying problems distress things code content that is feeling saying data fast mirroring project Ali reference support selection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Redmi Xiaomi vpn MySQL