Download a maven managed open source project from GitHub and then installs Maven's mental journey under the following essays:
Unusually embarrassing is the import into the IDE after a red exclamation! Shocked! Google know, MAVEN is not configured ...
Next cut to the chase, MAVEN configuration:
The first step:
Needless to say, MAVEN must be downloaded first. url=http://maven.apache.org/download.cgi
Find the version that you need, lz3.5, is said to download the latest version of fine, after downloading the decompression. Add the new system environment variable maven_home and set its value to the directory you installed maven_home= D:\Softwares\apache-maven-3.2.2 update the system path variable, add;%maven_home%\bin; to the tail, This is not a map.
Enter cmd, enter mvn-version, and check if MAVEN is installed successfully!
Note: Before you install MAVEN, make sure that the JDK is installed and that its environment variables are configured successfully.
Step Two:
Open Eclipse/myeclipse, here take MyEclipse for example, very similar. Click window-->preferences--> in type filter text to enter MAVEN, select Maven4 ....
Tap installations to enter, click Add to enter the MAVEN root directory to select the previously unzipped.
Step three: In Maven4my ... Select User Settings below and click Enter
Path Select Maven-3.2.5\maven-3.2.5\conf under Settings.xml. then OK. You can also define your own local repository in Settings,
In the settings 56 lines,
Change to your own local address ... This completes the configuration of maven in MyEclipse!
In fact, because I use the warehouse, the middle out of a lot of problems, the first is the Maven warehouse jar missing, the last is to find the missing file directory to see only found, in fact, is a pretty sad but fulfilling process, the process more than once the re-install MAVEN, So for MAVEN's outfit and configuration is also proficient in mastering. At the same time reported unsupported Major.minor version 51.0, this problem in fact casually Baidu or Google can be found, JDK version does not support, in exchange for a supported on OK.
Now that the problem has been solved, the heart is really satisfied, although these problems in Daniel's view so easy, but we still have to step by step, every time the process of solving the problem is a promotion of their own. More brain, more hands-on, as long as to do, the problem will always be solved!
My Java Journey _maven configuration of the mental journey