Pre-Preparation:
Install MAVEN, configure the environment variables for MAVEN, and verify the installation success with Mvn-v.
Online tutorials say you need to install the MAVEN integration for Eclipse plugin online or offline.
But after I searched it, I found it had been installed. (But all I do is install MAVEN, configure MAVEN's environment variables, and don't have any plugins installed)
Although I do not know why, but continue to configure the next down ....
Configuration steps:
1. Add installation files
Open Eclipse (if Eclipse has started, restart it), find the menu Window--Preference--->maven
Locate the instllation and add the path to the MAVEN installation that you just added.
2. Modify the Setting.xml file
Menu Maven--User Settings, click Browse on the right ... button, select the Settings.xml file under your Maven installation path in the Pop-up dialog box
Modifications to this path are to be manually modified in the Setting.xml file.
It's time to look at it again.
3. Create a MAVEN project
Click the OK button, and the Eclipse Maven plugin installation configuration is complete.
You can create MAVEN projects by right-to -------MAVEN project.
2016.6.20 configuration of Maven in eclipse