aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.doc/pom.xml
diff options
context:
space:
mode:
authorEvgeny Mandrikov <Godin@users.noreply.github.com>2016-04-21 20:16:16 +0200
committerEvgeny Mandrikov <Godin@users.noreply.github.com>2016-04-21 20:16:16 +0200
commitbc1c2632871b892afe85127b3e0dadbe4847b345 (patch)
treef3419f3febc3a4eec282fa1eba67082b3a7548ea /org.jacoco.doc/pom.xml
parent5670443f4221092ce27882a5e97e3458c3cd8478 (diff)
downloadjacoco-bc1c2632871b892afe85127b3e0dadbe4847b345.tar.gz
Move creation of coverage report back to "org.jacoco.doc" (#403)
Diffstat (limited to 'org.jacoco.doc/pom.xml')
-rw-r--r--org.jacoco.doc/pom.xml73
1 files changed, 67 insertions, 6 deletions
diff --git a/org.jacoco.doc/pom.xml b/org.jacoco.doc/pom.xml
index 1405a4de..f48ff5fd 100644
--- a/org.jacoco.doc/pom.xml
+++ b/org.jacoco.doc/pom.xml
@@ -36,21 +36,39 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
+ <artifactId>org.jacoco.core.test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.report</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
+ <artifactId>org.jacoco.report.test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.agent</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
+ <artifactId>org.jacoco.agent.test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.agent.rt</artifactId>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>org.jacoco.agent</artifactId>
+ <artifactId>org.jacoco.agent.rt.test</artifactId>
<version>${project.version}</version>
- <classifier>runtime</classifier>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
@@ -58,14 +76,31 @@
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
- <artifactId>org.jacoco.ant</artifactId>
- <classifier>nodeps</classifier>
+ <artifactId>org.jacoco.ant.test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>org.jacoco.examples</artifactId>
<version>${project.version}</version>
- <type>zip</type>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>org.jacoco.examples.test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${project.groupId}</groupId>
+ <artifactId>jacoco-maven-plugin.test</artifactId>
+ <version>${project.version}</version>
+ <scope>test</scope>
</dependency>
</dependencies>
@@ -74,6 +109,32 @@
<plugins>
<plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <version>${project.version}</version>
+ <executions>
+ <execution>
+ <id>report-aggregate</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>report-aggregate</goal>
+ </goals>
+ <configuration>
+ <title>JaCoCo</title>
+ <footer>Code Coverage Report for JaCoCo ${project.version}</footer>
+ <includes>
+ <!-- Analyze class files only to exclude shaded agent JAR from report -->
+ <include>**/*.class</include>
+ </includes>
+ <excludes>
+ <exclude>**/HelpMojo.class</exclude>
+ </excludes>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
@@ -127,7 +188,7 @@
<configuration>
<reportOutputDirectory>${project.build.directory}/apidocs</reportOutputDirectory>
<includeDependencySources>true</includeDependencySources>
- <excludePackageNames>*.internal,org.jacoco.ant</excludePackageNames>
+ <excludePackageNames>*.internal,org.jacoco.ant,org.jacoco.maven,org.jacoco.examples</excludePackageNames>
<dependencySourceIncludes>
<dependencySourceInclude>org.jacoco:*</dependencySourceInclude>
</dependencySourceIncludes>