Linux Eclipse New Maven Project error: Discover and map Eclipse plugins to Maven plugin goal Executions__linux

Source: Internet
Author: User


Use MyEclipse with Maven all the time under Windows. In Linux, Eclipse uses MAVEN to always make an error: Discover and map Eclipse plugins to maven plugin goal Executions (tip two errors are related to compile, test-compile).

Niang on the search for half a day did not solve, and later in https://stackoverflow.com/questions/6352208/ How-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin see a lot of people have similar problems, in the reply to the 104 floor gave the official answer, Official reply https://www.eclipse.org/m2e/documentation/ M2e-execution-not-covered.html said: "After the m2eclipse0.12 version of compatibility issues, detailed reasons to see the English version, the official offers several programs, including: The simpler one is: https:// Www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html.

Plugin a lifecycle-mapping-metadata.xml file, file contents:

<lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginexecutionfilter&gt
        ;
      <goals> <goal>some-goal</goal> </goals> </pluginExecutionFilter> <action> <ignore/> </action> </pluginExecution> </pluginExecutions> & Lt;/lifecyclemappingmetadata>



But just ignoring the problem: the best way to do this is to remove the plugin from Eclipse's maven and switch it back to the stable version.




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.