Solve the Pom. Xml validation error caused by the M2eclipse plug-in.

Source: Internet
Author: User
1. pom. the xml file reports Pluginexecutionnotcoveredbylifecycleconfiguration: org. apache. maven. plugins: maven-resources-plugin: 2.2: resources (execution: default-resources, phase: process-resources) pom. xmltestMaven-commonline3MavenProjectBuild

1. pom. the xml file reports Plugin execution not covered by lifecycle configuration: org. apache. maven. plugins: maven-resources-plugin: 2.2: resources (execution: default-resources, phase: process-resources) pom. xml/testMaven-commonline 3 Maven Project Build

1. pom. the xml file reports Plugin execution not covered by lifecycle configuration: org. apache. maven. plugins: maven-resources-plugin: 2.2: resources (execution: default-resources, phase: process-resources) pom. xml/testMaven-common line 3 Maven Project Build Lifecycle Mapping Problem

2. this error occurs because the m2eclipse plug-in 0.12 and earlier versions run a series of lifecycle conflicts in Eclipse. If your maven reports such errors, the maven-resources-plugin plug-in is used, so please press your project pom. add in xml


Org. eclipse. m2e
Lifecycle-mapping
1.0.0





Org. apache. maven. plugins
Maven-resources-plugin
[1.2 ,)

Resources
TestResources









Resolve conflicts, see http://wiki.eclipse.org/M2E_plugin_execution_not_covered for specific causes

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.