Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-03-15 16:21:09 +0000
committerUwe Stieber2012-03-15 16:21:50 +0000
commit2569455f0402142a28e1660a1fb2f63263e0a8cf (patch)
treeeafd3ebfc016348ffcc613c0f380291eda41c44a /admin/pom-build.xml
parent6de5398e3b3c97d7236b1a5d5a8896c571c79b1e (diff)
downloadorg.eclipse.tcf-2569455f0402142a28e1660a1fb2f63263e0a8cf.tar.gz
org.eclipse.tcf-2569455f0402142a28e1660a1fb2f63263e0a8cf.tar.xz
org.eclipse.tcf-2569455f0402142a28e1660a1fb2f63263e0a8cf.zip
Maven: Optimize JaCoCo build
Diffstat (limited to 'admin/pom-build.xml')
-rw-r--r--admin/pom-build.xml40
1 files changed, 40 insertions, 0 deletions
diff --git a/admin/pom-build.xml b/admin/pom-build.xml
index f565d9be6..1d3f18ed8 100644
--- a/admin/pom-build.xml
+++ b/admin/pom-build.xml
@@ -47,5 +47,45 @@
</plugins>
</build>
</profile>
+
+ <profile>
+ <id>jacoco</id>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${jacoco.basedir}</directory>
+ <filtering>true</filtering>
+ <includes>
+ <include>jacoco.exec</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
</project>

Back to the top