"Linux" installs Maven on CentOS

Source: Internet
Author: User


because it is maven Project , so I have to do this job. . is still downloaded from the official website apache-maven-3.2.5-bin.tar.gz. with the foundation of the previous , It's going to be a little faster. .

1.tar-zxvf apache-maven-3. 2 . 5 -bin.tar.gz

( unzip )


2.vi/etc/profile

( Open File , edit , Add the following variable at the end of the file , edit Finish Press ESC key to exit edit , and then enter : Wq or : x Save Exit )


3. source/etc/profile

( making changes to the profile effective , I'm not sure if this step is necessary , Sometimes execution does not execute sometimes . looks like it all worked. )

4.mvn-v

The installation configuration is successful if the following appears :


Installation is always simple, the difficulty is that the installation after the completion of a variety of problems can be flexible response. We will share with you some of the difficulties and solutions that have been encountered in the development of the project to the late test.



"Linux" installs Maven on CentOS

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.