Installing the Maven plugin in eclipse

Source: Internet
Author: User

Offline plugin Click to download the offline install package: Eclipse-maven-plugin.zip (for Eclipse Helios or higher). Unzip to any directory (such as the Plugins directory here):The directory path is best not to contain Chinese or white space. The following uses%maven-plugin% to represent the root directory where the plug-in is decompressed. As the E:/setup/dev/eclipse/plugins/maven herePlug-in installs a new links folder under Eclipse's installation directory, as follows:
Create a new text file within the Links folder and rename it to Maven.link. Open Maven.link with a text editor and edit it to add the following:Path=e:/setup/dev/eclipse/plugins/mavenThe value of path specifies the path to the%maven-plugin% where the path delimiter is to be saved and closed using "/" or "\ \".
Locate the Eclipse.ini configuration file in the current directory and open it with a text editor and edit it:1-showsplash
2Org.eclipse.platform
3--launcher. Xxmaxpermsize
4256m
5--launcher.defaultaction
6OpenFile
7-vm
8E:/setup/dev/java/jdk/bin/javaw.exe
9-vmargs
Ten-dosgi.requiredjavaversion=1.7 Add the 7th and 8th line configurations and replace the E:/setup/dev/java/jdk/bin/javaw.exe with the installation directory of your native JDK. Save and close.Eclipse Config opens eclipse (if Eclipse has started, restart it), find menu Window--Preferences
If you can see the Maven tab, the plug-in installation is successful. Expand Menu Maven--installations, click Add on the right side of the panel ... button, the following dialog box pops up:
Click Directory ... button, in the Pop-up dialog box, select the root path of your Maven installation, as follows:
Select OK and click the OK button to return to the parent dialog box and click the Finish button. Go back to the main panel and don't forget to tick it, as follows:

Menu Maven--User Settings, click Browse on the right ... button, select the Settings.xml file under your Maven installation path in the Pop-up dialog box
Click the OK button, and the Eclipse Maven plugin installation configuration is complete. You can create MAVEN projects by right-to-------MAVEN project.

Installing the Maven plugin in eclipse

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.