Installation and configuration of the maven+myeclipse8.6

Source: Internet
Author: User

1, configuration jdk file, jdk1.6.0_43,64 bit

2, download the latest version of MAVEN, this blog post was updated to Maven3.2.3. Link address: Download Apache Maven

650) this.width=650, "width=", "height=", "src=" http://s3.51cto.com/wyfs02/M00/4C/EF/ Wkiom1rhxrtimbmuaaipk2blev0709.jpg "title=" M2_c]r}mgp43d$rnr$4gi]4.png "alt=" Wkiom1rhxrtimbmuaaipk2blev0709.jpg " />

3. MAVEN Installation configuration:

After downloading the Apache-maven-3.2.3-bin.zip file, unzip to E:\apache-maven-3.2.3-bin

Configure MAVEN3 Environment variables: First configure the M2_HOME environment variable, create a new system variable: m2_home, the path is: E:\apache-maven-3.2.3-bin,:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4C/F0/wKiom1RH0SPigwMsAAB9Dj4XTfk573.jpg "title=" Qq20141022234323.png "alt=" Wkiom1rh0spigwmsaab9dj4xtfk573.jpg "/>

Then configure the PATH environment variable to add "%m2_home%\bin" at the end of the path value, as shown in;

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/4C/F1/wKioL1RH0XCi_Sd1AAB9oK368wU799.jpg "title=" Qq20141022234443.png "alt=" Wkiol1rh0xci_sd1aab9ok368wu799.jpg "/>

4. Maven adds a local repository:

Open the local Maven directory for example: E:\apache-maven-3.2.3-bin, open the Settings.xml file under the Conf folder, find the 53rd line, remove the comment, modify it to: <localrepository>e :/my_repository</localrepository>

650) this.width=650; "Width=" height= "src=" http://s3.51cto.com/wyfs02/M02/4C/F1/ Wkiol1rh06sivm3gaahup-b1rvm966.jpg "title=" Qq20141022235424.png "alt=" Wkiol1rh06sivm3gaahup-b1rvm966.jpg "/>

Settings in the MyEclipse8.6:

MyEclipse8.6 Default configuration Maven Plugin

From the MyEclipse8.6 menu bar, click maven4myeclipse-> maven-> installations, MyEclipse, Windows-Preferences Add the previously extracted maven:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/4C/F1/wKioL1RH1XCxMkqBAAL-6mouo0E245.jpg "title=" Qq20141023000230.png "alt=" Wkiol1rh1xcxmkqbaal-6mouo0e245.jpg "/>

Click User Settings to use our own MAVEN configuration:

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/4C/F1/wKioL1RH1gWTRRj9AAIwUcRTahI653.jpg "title=" Qq20141023000503.png "alt=" Wkiol1rh1gwtrrj9aaiwucrtahi653.jpg "/>


Configuration is complete.

This article from "Ertan to win" blog, declined reprint!

Installation and configuration of the maven+myeclipse8.6

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.