CentOS maven Installation and configuration

Source: Internet
Author: User
Maven Installation Method 1. Download the latest Maven tar.gz package from MAVEN official website http://maven.apache.org/download.cgi and upload it to CentOS

Method 2. or directly on the CentOS wget command to get
2.1 First to get the latest maven download address on the website

Http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz

2.2 Creating a Maven Directory
mkdir maven

2.3 Then go to CD maven

2.4 Last
wget http://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
Download maven

2.5 Decompression

TAR-XVF apache-maven-3.3.9-bin.tar.gz

This installs the environment configuration Execution Vi/etc/profile Edit Profile Insert


Note:
/data/maven/apache-maven-3.3.9 This is your MAVEN unzip directory after you save the file, execute the source/etc/profile command to make the changes take effect execute the MVN-V command to see if MAVEN version verification was successful

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.