Solution to the incompatibility of MAVEN projects in eclipse

Source: Internet
Author: User

Today let's introduce the MAVEN project in eclipse through Git:

1. First, we can import items from git in eclipse, usually to git@xxx.xml. 2. After importing the successful project, we can enter into this project in the DOS command line, for example, this project is called AA, we want to enter into this project.
3. Since eclipse's support for MAVEN projects is not good, we typically use the following: The DOS command line imports the jar package, and the project that becomes Java
A. Download the jar package according to Pom.xml: mvn clean install-dskiptests
B. Convert this MAVEN project to project support in Eclipse: MVN eclipse:eclipse-dskiptests
If there is an incorrect item in the execution of B, because Maven is a tree-structured item, it executes sequentially, and if it encounters an error, he skips
So we need to re-convert the project, we are in the project to the wrong one, and then perform B's operation, you can
4. Import the project through the implementation of Eclipse's Import->general->existiong Projects into workspace.

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.