1 Marven Introduction
Apache Maven is a software (especially Java software) project management and automated build tool, provided by the Apache Software Foundation. Based on the concept of the Project object Model (abbreviated: POM), Maven uses a central piece of information to manage the steps of building, reporting, and documenting a project. Formerly a sub-project of the Jakarta Project, it is now a standalone Apache project.
2 Installing and configuring the Marven plug-in in eclipse
2.1 Use of the development environment
Windows7 64-bit machine, the version of Eclipse is
220140224-0627
2.2 Installation Configuration
① Download Marven source package, download the latest version,
② Configuring environment variables
A, add a variable to the system environment variable: The value of the Maven_home variable is: D:\Developer\apache-maven-3.2.5 (this is changed to its own machine corresponding path),
b, add the appropriate path in the system variable path:%maven_home%\bin;
After the add is complete, verify, and on the command line, enter:
Mvn-v
The following configuration information appears to indicate that the configuration was successful.
③ configuring Maven in Eclipse after successful configuration
Click the Eclipse menu bar Help->eclipse Marketplace, search for the keyword maven to the plugin Maven integration for Eclipse and click Install.:
After installing the plug-in needs to be configured in eclipse to select the local marven, the local library is selected because you can specify the location of the warehouse, you can also specify the remote warehouse, easy to manage the restart, in order to make the MAVEN plugin installed in Eclipse, As with the one installed in Windows, you need to reposition Maven in Eclipse and click Add, Installation---Preference, Window----to set it up.
This Marven environment is configured in eclipse.
Reference articles
1 Marven Configuration
2 Marven Introduction
Configuring the Marven environment in the Java Web eclipse