Eclipse creates a Maven project

Source: Internet
Author: User

Eclipse create maven Project creationtime--2018 June 7 18:46 Author:marydon

1. Right-click-->new-->maven Project

2. Set the save location for the MAVEN project you want to create, using the default item

3. If you want to create a Web project, select Maven-archetype-webapp, and the other options default

4. Enter the group ID and artifact ID

Description: Group id--> Specifies which team the project belongs to;

Artifact id--> project name, unique

Version number of the Version--> project

Packaging--> the output type after the project is packaged (War,jar)

3. Create a Java folder under Main

src-->main--> Right-click-->new-->folder

Folder name is Java

  Select the project name-right-click to refresh-you'll find the Java folder running up to the top

Note: You must create a Java folder this way

4. Create a Src/test/resources folder

Select Items-Right-click-->new-->other (CTRL + N)

Enter:sour--> in the wizard to select the source folder

Input: Src/test/resources

  You'll find that there's more than one Test folder

5. Create a Java folder under test

Method with step 3

Now that the MAVEN project has been created, the standard catalog structure shows

Related recommendations:
    • Similar articles

Eclipse creates a Maven project

Related Article

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.