Integrate Maven and eclipse to build multi-module Maven Projects

Source: Internet
Author: User

Recently, Maven has been increasingly used as a tool for project management and jar package management and building. MAVEN is indeed very useful. In addition, to maximize the functionality of Maven, multiple modules are a good integration example.

A Maven project includes one mavenproject and multiple mavenmodules.

The following is a standard example:

1. Install the m2eclipse plug-in.

1. Click Help-market place to find the maven keyword.

"Next" is not explained. Then the Agent installation is complete.

2. Create a parent project, mavenproject, and scan multiple images to kill cats:

As a result, two packages, one jar package and the other war package, are output on the parent. The following is the result log:

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.