Resolve Maven Report plugin execution not covered by lifecycle configuration

Source: Internet
Author: User

From: http://blog.csdn.net/xxd851116/article/details/25197373

Environment Eclipse 4.3.0 maven 3.0.4 m2e 1.4.0 appeared before the scene of the old project, in my environment (my environment is newer), other people's old environment do not error. Error example An error example, the subproject references the parent project, and the child Project parent tag error is as follows: multiple annotations found at the This line:-Maven-enforcer-plugin (goal "enforce") is ignored by m2e.-Plugin execution not covered by lifecycle configuration:org.codehaus.mojo:aspectj-maven-plugin:1.3.1 : Compile (Execution:default, phase:compile) solution to the website of the explanation and solution: Http://wiki.eclipse.org/M2E_plugin_execution_not_ Covered here some people say that the following can also be resolved, that is, <plugins> tag outside the set of a <pluginManagement> tag, I test is successful: http://stackoverflow.com/ Questions/6352208/how-to-solve-plugin-execution-not-covered-by-lifecycle-configuration-for-sprin <build>
<pluginManagement>
<plugins>
<plugin> ... </plugin>
<plugin> ... </plugin>
....
</plugins>
</pluginManagement>
</build> but sometimes the parent project Pom can not be modified, available on the official website of the last solution: Window-perferences-maven-lifecycle Mapping Save the following: <?xml version= "1.0" encoding= "UTF-8"?>
<lifecycleMappingMetadata>
<pluginExecutions>

<pluginExecution>
<pluginExecutionFilter>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<goals>
<goal>compile</goal>
</goals>
<versionrange>[1.3,) </versionRange>
</pluginExecutionFilter>
< Action>
<ignore/>
</ Action>
</pluginExecution>

</pluginExecutions>
</lifecycleMappingMetadata> Remember to click the "Reload Workspace Lifecycle Mappings Metadata" button to resolve the issue.

Resolve Maven Report plugin execution not covered by lifecycle configuration

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.