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)