Install Maven plugin in eclipse with link (reprint)

Source: Internet
Author: User

Tags:it Category: Developing software
1. Tools Download:
Eclipse4.2 Jee Version (Note that Jee, not the standard version of Eclipse)
: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/juno/SR2/ eclipse-jee-juno-sr2-win32.zip&mirror_id=1142
Maven3.0.5 version:
http://maven.apache.org/download.cgi

2.maven Configuration
After Maven downloads, you need to configure the environment variables to configure the Maven extracted bin directory into environment variables, as shown below (I'm using version 3.0.4. and installed in the D packing directory):



The configuration is complete, open the command line, enter Mvn-v, as shown (the version information appears, that is, the configuration is successful):



To set the MAVEN warehouse location:



The default Maven warehouse location is: C:\Users\Administrator\.m2 (where Administrator is the current account).

3.eclipse Installing the Maven plugin (because the Eclipse installation plugin has a version problem, it is recommended to eclipse3.7 the above version).
Maven plugin:
http://pan.baidu.com/share/link?shareid=1411067963&uk=3222190371
Just unzip the links, Myplugins folder into the Eclipse installation directory, as shown in:



and modify the Maven.link file under links. Point to the Myplugins directory. My configuration is:
Path=d:/work/eclipse/eclipse4.2/myplugins/maven

Restart Eclipse (if the Eclipse program was started before).

Select window-"preferences-" select Maven as shown in:



Select "Installations" and click "Add" to add the Maven directory as shown:



Continue to select "User Settings" and configure the Maven setting file as shown in:



Here, select the Conf/settings file under the MAVEN installation directory, as shown in:



At this point, the Maven plugin is ready to install.

4. View maven console:
Click "window-" Show view-" Console ", as shown:


at this time, The bottom area of Eclipse has added the Console tab. Need to switch to MAVEN's console as shown in:

Install Maven plugins in Eclipse with Link (reprint)

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.