Skip to content

Commit

Permalink
Merge pull request #62 from jupiter-tools/fix-codecov-support
Browse files Browse the repository at this point in the history
fix tests report
  • Loading branch information
antkorwin authored Jun 14, 2020
2 parents 84c9fa7 + 00b8027 commit 911a112
Showing 1 changed file with 38 additions and 28 deletions.
66 changes: 38 additions & 28 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven-compiler-plugin.version>3.7.0</maven-compiler-plugin.version>
<guava.version>27.1-jre</guava.version>
<org.reflections.version>0.9.11</org.reflections.version>
</properties>

<distributionManagement>
Expand Down Expand Up @@ -186,7 +187,7 @@
<dependency>
<groupId>org.reflections</groupId>
<artifactId>reflections</artifactId>
<version>0.9.11</version>
<version>${org.reflections.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
Expand Down Expand Up @@ -247,6 +248,7 @@
<version>2.9.1</version>
<configuration>
<additionalparam>-Xdoclint:none</additionalparam>
<source>8</source>
</configuration>
<executions>
<execution>
Expand All @@ -273,33 +275,6 @@
<target>${java.version}</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
<configuration>
<reportFormat>plain</reportFormat>
<includes>
<include>**/*Test*.java</include>
<include>**/*IT*.java</include>
</includes>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
<check/>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
Expand All @@ -312,6 +287,41 @@
</execution>
</executions>
</plugin>

<!-- region tests report -->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.4</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<!-- attached to Maven test phase -->
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<reportFormat>plain</reportFormat>
<includes>
<include>**/*Test*.java</include>
<include>**/*IT*.java</include>
</includes>
</configuration>
</plugin>
<!-- endregion tests report -->
</plugins>

<resources>
Expand Down

0 comments on commit 911a112

Please sign in to comment.