Skip to content
Permalink
Browse files

Add aggregate coverage report.

  • Loading branch information...
khatchad committed Oct 20, 2017
1 parent 27ae5d2 commit bfc7dfdd590f05556db6a3d908c96c389d27bfad
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>edu.cuny.citytech.interfacerefactoring.tests.report</name>
<comment>Coverage report for tests.</comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
@@ -0,0 +1,57 @@
<?xml version="1.0" encoding="utf-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>edu.cuny.citytech.defaultrefactoring</groupId>
<artifactId>parent</artifactId>
<version>1.3.0</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>edu.cuny.citytech.defaultrefactoring.tests.report</artifactId>
<packaging>pom</packaging>
<profiles>
<profile>
<id>jacoco</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-version}</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>report-aggregate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>edu.cuny.citytech.defaultrefactoring</groupId>
<artifactId>edu.cuny.citytech.defaultrefactoring.core</artifactId>
<version>1.3.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>edu.cuny.citytech.defaultrefactoring</groupId>
<artifactId>edu.cuny.citytech.defaultrefactoring.ui</artifactId>
<version>1.3.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>edu.cuny.citytech.defaultrefactoring</groupId>
<artifactId>edu.cuny.citytech.defaultrefactoring.tests</artifactId>
<version>1.3.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
54 pom.xml
@@ -9,11 +9,52 @@
<module>edu.cuny.citytech.defaultrefactoring.ui</module>
<module>edu.cuny.citytech.defaultrefactoring.core</module>
<module>edu.cuny.citytech.defaultrefactoring.tests</module>
<module>edu.cuny.citytech.defaultrefactoring.tests.report</module>
</modules>
<properties>
<tycho-version>0.23.0</tycho-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jacoco-version>0.7.8</jacoco-version>
</properties>
<profiles>
<profile>
<id>jacoco</id>
<activation>
<activeByDefault>false</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>${jacoco-version}</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<jacocoReports>
<jacocoReport>${project.basedir}/edu.cuny.citytech.defaultrefactoring.tests.report/target/site/jacoco-aggregate/jacoco.xml</jacocoReport>
</jacocoReports>
<repoToken>zJBWavW3r1LxdIatevcOhLLJoLUQLsObF</repoToken>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>mars</id>
@@ -104,19 +145,6 @@
<repoToken>zJBWavW3r1LxdIatevcOhLLJoLUQLsObF</repoToken>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.5.201505241946</version>
<executions>
<execution>
<id>prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit bfc7dfd

Please sign in to comment.
You can’t perform that action at this time.