Skip to content

Instantly share code, notes, and snippets.

@ksimons
Created November 29, 2012 11:28
Show Gist options
  • Save ksimons/4168370 to your computer and use it in GitHub Desktop.
Save ksimons/4168370 to your computer and use it in GitHub Desktop.
diff --git a/pom.xml b/pom.xml
index 6261a6b..2c4537e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -86,9 +86,39 @@
</site>
</distributionManagement>
- <build>
-
+ <build>
+ <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>
+ <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>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+
<plugins>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment