add plugin configuration to make m2e ignore maven dependency plugin configuration that it cannot handle

This commit is contained in:
Jilles van Gurp 2013-01-02 13:14:34 +01:00 committed by Shay Banon
parent 70f1e2c987
commit 2649c6c758
1 changed files with 30 additions and 0 deletions

30
pom.xml
View File

@ -586,5 +586,35 @@
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- make m2e stfu -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<!-- copy-dependency plugin -->
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<versionRange>[1.0.0,)</versionRange>
<goals>
<goal>copy-dependencies</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore />
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>