One download maven plugin
eclipse-maven3-plugin.7z
Two plug-in installation
1. Unzip
eclipse-maven3-plugin.7z
2. Put maven in the eclipse installation directory
D:\MyEclipse 10\dropins
Three configuration Maven
1. The Maven option will appear in [Window] ->
[Preferences], click this option
2. Modify and install jre, the screenshot is as follows
3, maven default configuration modification, modified to native maven
4. Modify the default User Settings, the screenshot is as follows
Four tests whether Maven is successfully installed
The first step: [File]->[new]->[other]
Step 2: Template selection quickstart item
Step 3: Fill in the parameters
Step 4: The generated project skeleton is as follows
Step 5: Select M2 building
Step 6: Run the project: compile
If you run it directly, you will get an error
The following configuration is required
-Dmaven.multiModuleProjectDirectory=%M2_HOME
Step 7: Run the project: package