Permalink
Browse files

Add plugin config for M2E with copy deps

  • Loading branch information...
1 parent 74e3cc0 commit 1e68c44a4356216d7077738f87ee9b97545d4bb5 @ryanbrainard ryanbrainard committed Aug 14, 2012
Showing with 31 additions and 0 deletions.
  1. +31 −0 pom.xml
View
31 pom.xml
@@ -57,5 +57,36 @@
</executions>
</plugin>
</plugins>
+
+ <pluginManagement>
+ <plugins>
+
+ <!-- M2Eclipse Compatibility -->
+ <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-dependency-plugin</artifactId>
+ <versionRange>[2.4,)</versionRange>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
</build>
</project>

0 comments on commit 1e68c44

Please sign in to comment.