MAVEN is based on the Project object Model (POM), can also be modular development, and is a powerful management tool. This experience uses Eclipse to create MAVEN projects
Steps:
1. Download and install eclipse correctly
2. Successful installation of Maven plugin on eclipse
3. After installing the plugin successfully, File/new/other and select Maven Project on Eclipse
4. Select Maven Project, press Next
5, the default is the line, press Next
6, Artifact ID select Cocoon-22-archetype-webapp or select Maven-archetype-quickstart, press Next
7, fill in the group ID (large project name), Artifact ID (sub-project name), version* (version number), package (pack name, based on the first two automatically generated).
groupId: The project name, since some items are not made of a jar package, but consist of a lot of jar packages. So this groupid is the name of the whole project.
Artifactid: The name of the package.
Version: revision number.
Packaging: The type of package, usually a jar, or a war. If not, the default is the jar.
name and the URL, one is the names and one is the address of Maven. The main is the above several parameters.
Create a MAVEN project with eclipse