Create a new MAVEN project step with Eclipse:

Source: Internet
Author: User

1, open Eclipse, left click on the upper left file, select New, left click to select Maven Project, the following interface appears:

2, the removal of the hook, choose their own project where the workspace, such as, I built in my workspace workspace05, and then click, Next,

3. Select the following ... webapp, click Next

4, you can fill in the Group ID (preferably fill in your src in the first name of the package), Artifact ID is the name of your project, and then click Finish, so as to build a simple MAVEN project

5, the Maven01 is our new project framework,

6, so just to build a simple project also need to configure some parameters:

1), here we can choose Utf-8,

2), select JRE, click Edi ...

Choose our own JRE package

3), tick the previous option:

4), the correct folder is as follows: If anything on the click Add, add the required files (

7. Then you have the basic information of this project on your pox.xml, and then import the package required for this project.

PS. If you are in 6.4 the package has been wrong, the added folder has not been src/test/resources this situation, but added to the SRC, you can left-click Maven01, select the build Path, choose right to confirm the new Source Folder

Then fill in the Src/test/resources and click Finish

The results we want are as follows:

Create a new MAVEN project step with Eclipse:

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: 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.