Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tycho-surefire/pom.xml')
-rw-r--r--tycho-surefire/pom.xml53
1 files changed, 53 insertions, 0 deletions
diff --git a/tycho-surefire/pom.xml b/tycho-surefire/pom.xml
index 960ec321d..fe415d7d1 100644
--- a/tycho-surefire/pom.xml
+++ b/tycho-surefire/pom.xml
@@ -44,4 +44,57 @@
<url>http://download.eclipse.org/releases/indigo</url>
</repository>
</repositories>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+
+ <!-- Copy surefire jars into folder 'jars' in wrappers -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <configuration>
+ <outputDirectory>jars</outputDirectory>
+ </configuration>
+ </plugin>
+
+ <!-- Have m2e execute the jar copy step for easy project import in Eclipse -->
+ <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.1,)</versionRange>
+ <goals>
+ <goal>copy</goal>
+ </goals>
+ </pluginExecutionFilter>
+ <action>
+ <execute />
+ </action>
+ </pluginExecution>
+ </pluginExecutions>
+ </lifecycleMappingMetadata>
+ </configuration>
+ </plugin>
+
+ <plugin>
+ <artifactId>maven-clean-plugin</artifactId>
+ <configuration>
+ <filesets>
+ <fileset>
+ <directory>jars</directory>
+ </fileset>
+ </filesets>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>

Back to the top