I do not want to spend too much time on typesetting, so if the layout is not good-looking, please forgive me.
have been using Maven all the time, but have not created the MAVEN project on their own, and are trying to create one today.
1, open Eclipse, then New,other, and the following figure (your eclipse must be able to support Maven OH)
2. First, we create a total project to accommodate each subproject for easy packaging. The following figure:
Click Finish, complete, as shown below, you need to delete all non-pom files, because this is just a total project to do module aggregation, do not need other files. Delete the following image before and after deletion:
After finish, a MAVEN project is generated, because our project is only for inclusion subprojects and packaging, so we need to remove all the files except Pom.
Before and after deletion:
You also need to give the packaging type a pom type, as shown in the following illustration:
3. Create sub-projects
3.1 Create Java subprojects, right click on the total project module, New,other
Click Finish to finish
3.2 Create the Web module, right click on the total item, New,other
Finish, finished.