1. Environment
System environment: Windows R2
JDK version:1.7.0_10
2.
maven:http://maven.apache.org/download.cgi
Choose Maven 3.3.3 (binary tar.gz) or maven 3.3.3 (binary zip)
3. Configuring the System environment
Unzip: the download maven (apache-maven-3.3.3) compressed package is extracted and placed in the C packing directory.
Set Environment variables: Computer environment variables (System Variables section), new variable name "Maven_home", Variable Value: "C:\apache-maven-3.3.3" OK (save), change path:
Append ";%maven_home%\bin" at the end.
Open cmd command input "mvn-v" command line appears, MAVEN 3.3.3 version number, System environment configuration succeeded.
4. Change the default storage address for MAVEN's warehouse
Modify the Settings.xml file under the Conf folder under C:\apache-maven-3.3.3
Change localrepository configuration section:<localrepository>e:/workspace/maven/repo</localrepository>
5. Download the relevant package
Knock in CMD and enter to execute: MVN help:system
Ii. using maven in MyEclipse
Open myeclipse2014 Select Maven4myeclipse, under MyEclipse, prefences, window
1, modify the "Maven4myeclipse" under the Installations click "Add" to select the directory "C:\apache-maven-3.3.3"
Global settings from installation directory (open file) selection C:\apache-maven-3.3.3\conf\settings.xml
2. Modify the user Settings property "C:\apache-maven-3.3.3\conf\settings.xml" under "Maven4myeclipse" under User Settings, and save the confirmation.
[Java web–maven–1a]maven 3.3.3 for Windows configuration (RPM)