Created
February 28, 2012 12:23
-
-
Save anonymous/1932220 to your computer and use it in GitHub Desktop.
Prevent m2e error message: Plugin execution not covered by lifecycle configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pluginManagement> | |
<plugins> | |
<!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> | |
<plugin> | |
<groupId>org.eclipse.m2e</groupId> | |
<artifactId>lifecycle-mapping</artifactId> | |
<version>1.0.0</version> | |
<configuration> | |
<lifecycleMappingMetadata> | |
<pluginExecutions> | |
<!-- One of these for each plugin that m2e does not understand --> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-antrun-plugin</artifactId> | |
<versionRange>[1.3,)</versionRange> | |
<goals><goal>run</goal></goals> | |
</pluginExecutionFilter> | |
<action><ignore /></action> | |
</pluginExecution> | |
<pluginExecution> | |
<pluginExecutionFilter> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-war-plugin</artifactId> | |
<versionRange>2.2</versionRange> | |
<goals><goal>exploded</goal></goals> | |
</pluginExecutionFilter> | |
<action><ignore /></action> | |
</pluginExecution> | |
</pluginExecutions> | |
</lifecycleMappingMetadata> | |
</configuration> | |
</plugin> | |
</plugins> | |
</pluginManagement> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment