Skip to content

Commit d649444

Browse files
committed
Switch from cobertura to jacoco since cobertura has been abandoned
1 parent 215df5e commit d649444

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
.classpath
33
.project
44
.settings/
5+
.idea
6+
.vscode

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ before_install:
99
- .travis/prepare
1010

1111
script:
12-
- mvn cobertura:cobertura
12+
- mvn clean test
1313

1414
after_success:
1515
- bash <(curl -s https://codecov.io/bash)

pom.xml

+19-12
Original file line numberDiff line numberDiff line change
@@ -142,19 +142,26 @@
142142
</execution>
143143
</executions>
144144
</plugin>
145-
<plugin>
146-
<groupId>org.codehaus.mojo</groupId>
147-
<artifactId>cobertura-maven-plugin</artifactId>
148-
<version>2.7</version>
149-
<configuration>
150-
<formats>
151-
<format>html</format>
152-
<format>xml</format>
153-
</formats>
154-
<check />
155-
</configuration>
145+
<plugin>
146+
<groupId>org.jacoco</groupId>
147+
<artifactId>jacoco-maven-plugin</artifactId>
148+
<version>0.8.5</version>
149+
<executions>
150+
<execution>
151+
<goals>
152+
<goal>prepare-agent</goal>
153+
</goals>
154+
</execution>
155+
<execution>
156+
<id>report</id>
157+
<phase>test</phase>
158+
<goals>
159+
<goal>report</goal>
160+
</goals>
161+
</execution>
162+
</executions>
156163
</plugin>
157-
</plugins>
164+
</plugins>
158165
</build>
159166

160167
<version>1.0.1</version>

0 commit comments

Comments
 (0)