3. The first MAVEN project created by IDEA-JavaWeb, mavenjavaweb

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.