Skip to content

Instantly share code, notes, and snippets.

@JSamir
Forked from maksimov/lifecycle-mapping-metadata.xml
Last active August 28, 2018 21:01
Show Gist options
  • Save JSamir/845e1c72507dd3ea7846f8c7ee60d66a to your computer and use it in GitHub Desktop.
Save JSamir/845e1c72507dd3ea7846f8c7ee60d66a to your computer and use it in GitHub Desktop.
Ignore unsupported M2E goals
<?xml version="1.0" encoding="UTF-8"?>
<lifecycleMappingMetadata>
<pluginExecutions>
<!-- standard maven plugins -->
<pluginExecution>
<pluginExecutionFilter>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<goals>
<goal>unpack-dependencies</goal>
</goals>
<versionRange>[2.0,)</versionRange>
</pluginExecutionFilter>
<action>
<ignore>
<message>unpack-dependencies generates an error in Eclipse due to a "bug" in M2E (https://stackoverflow.com/questions/8706017/maven-dependency-plugin-goals-copy-dependencies-unpack-is-not-supported-b)</message>
</ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment