The basic configuration method of Maven
This article mainly explains "the basic configuration method of Maven". The content of the explanation is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the basic configuration method of Maven".
1. Local warehouse location modification
Add your own local location path within the tag
D:\ Developer\ repository
two。 Add domestic mirror source
Alimaven central aliyun maven http://maven.aliyun.com/nexus/content/repositories/central/ repo1 central Human Readable Name for this Mirror. Http://repo1.maven.org/maven2/ repo2 central Human Readable Name for this Mirror. Http://repo2.maven.org/maven2/3. Modify the default JDK version of maven, JDK-1.8 true 1.8. 1.8 1.8
Then configure maven in IDEA. Generally, select the local maven directory and overwrite the setting.xml file of IDEA.
Thank you for your reading, the above is the content of the basic configuration method of Maven, after the study of this article, I believe you have a deeper understanding of the basic configuration method of Maven, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!