Eclipse create maven Project creationtime--2018 June 7 18:46 Author:marydon
1. Right-click-->new-->maven Project
2. Set the save location for the MAVEN project you want to create, using the default item
3. If you want to create a Web project, select Maven-archetype-webapp, and the other options default
4. Enter the group ID and artifact ID
Description: Group id--> Specifies which team the project belongs to;
Artifact id--> project name, unique
Version number of the Version--> project
Packaging--> the output type after the project is packaged (War,jar)
3. Create a Java folder under Main
src-->main--> Right-click-->new-->folder
Folder name is Java
Select the project name-right-click to refresh-you'll find the Java folder running up to the top
Note: You must create a Java folder this way
4. Create a Src/test/resources folder
Select Items-Right-click-->new-->other (CTRL + N)
Enter:sour--> in the wizard to select the source folder
Input: Src/test/resources
You'll find that there's more than one Test folder
5. Create a Java folder under test
Method with step 3
Now that the MAVEN project has been created, the standard catalog structure shows
Related recommendations:
Eclipse creates a Maven project