1. Create new module, choose Maven on the left, check create from archetype on the right, and find Maven-archetype-webapp in the middle.
2. Fill in GroupId and Artifactid
Groupid:the Unique identifier of the organization or group that created the project
Artifactid:unique base name of the primary artifact being generated by this project
GroupId is similar to the project package name, such as Org.apache.maven
Artifactid is similar to the project name, such as Mavendemo
(A pom.xml file is generated when the new is completed, in this pom, groupId, Artifactid, packaging, version is called Maven coordinates, it can only determine a project, with MAVEN coordinates, we can use it to specify our Other projects on which the project depends, plug-ins, or parent projects)
3. Choosing your own local maven can be a good way to avoid the problem that idea always downloading when using MAVEN to create a new WebApp skeleton project
4. Fill in the module name and its root directory
Here the module name Mavendemo, storage location C:\workspace.idea\demo\mavendemo
5. After the completion of the new module structure as follows, you can see the above mentioned Pom.xml and fill in the GroupID and Artifactid
Idea to create a new MAVEN project (avoid the idea of an issue that always downloading when using MAVEN to create a new WebApp skeleton project)