3. The first MAVEN project created by IDEA-JavaWeb, mavenjavaweb
1. What is Maven?
Maven is a Project management tool that contains a Project Object Model, a set of standard sets, and a Project Lifecycle ), A Dependency Management System and logic used to run the plug-in (goal) defined in the lifecycle phase (phase. This is an official explanation. It is a project management plug-in that can be integrated into idea or eclipse. It has two major advantages: unified management package and unified development specifications.
2. Start creating a Maven Project
Groupid: consists of three parts, each of which is separated ". "separation, the first part is the project purpose, for example, for commercial purposes is" com ", for non-profit organizations is" org "; the second part is the company name, for example, "tengxun", "baidu", and "alibaba"; the third part is your project name.
Artifactid: it can be considered a Maven-built project name. For example, if your project contains a sub-project, you can use the "Project name-sub-project name" naming method.
Version: version number. SNAPSHOT indicates a SNAPSHOT. It indicates that the project is still under development and is an unstable version.
Next ...... This is the case after creation! There are two points to note: maven repository, which is selected by default.
Next, you need to deploy the project and configure tomcat.
Configure tomcat
Then you can run it directly.