MAVEN Configuration Environment
PC Environment :windows (Linux configuration is similar)
JDK: Requires more than 1.5 versions
ide:myeclipse (using the same as other, for example IntelliJ, here I take myeclipse for example)
Maven Download
Download the latest version of Maven at www.apache.org. (I'm using maven3.3.1.)
After the download is complete, unzip and place it in the appropriate location on your PC.
Environment variable Configuration
for JDK installation and environment variable configuration, the configuration for the MAVEN environment variable is as follows.
、
Configuring Maven in MyEclipse
There are self-contained Maven plugins in MyEclipse, but they are not very useful. So we configured it with the MAVEN we just downloaded.
activation configuration: window-"perference-" myeclipse-"maven4myeclipse. Such as.
Click the Add button to add our own Maven plugin and select the file directory of the Maven tarball you just unzipped. Such as.
maven configuration file configuration.
OK above steps to complete the MAVEN environment-related configuration.
next maven in action's Hello World.
Maven in Action (ii) MAVEN installation and configuration-->myeclipse