"Go" Maven installation, configuration, and download jar packages

Source: Internet
Author: User
Tags aliyun

Original address: 79015456

1. Download the Maven Tarball and unzip it to the Maven folder in addition to the C drive 2. Create a new repository file in the extracted Maven sibling directory to store various jar Packages 3.-->conf--> of the Unpacked folder Settings.xml file, open with Notepad tool 1) Set the location of the warehouse where the default jar package is saved: <localrepository>e:\program files\maven-3.5.2\repository</ LOCALREPOSITORY&GT;2) Set the domestic mirror address <!--set the home Maven image--
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
&LT;/MIRROR&GT;3) Modify the default JDK version to create a MAVEN project for 1.8<!--Modify the default JDK version for creating MAVEN projects is 1.8-->
<profile>
<id>jdk-1.8</id>
<activation>
<activeByDefault>true</activeByDefault>
<jdk>1.8</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
</properties>
</profile> at this point, the configuration file is all set up 4. Configure environment variables: 1). Add the M2_home path to the user or system variable of the environment variable: the root directory of the extracted maven-->e:\program files\ maven-3.5.2\apache-maven-3.5.22). Add Maven's Bin path to path:; E:\Program files\maven-3.5.2\apache-maven-3.5.2\bin5. Test in command line mode: The version that appears Maven is the configuration success! This is half done.

"Go" Maven installation, configuration, and download jar packages

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.