Skip to content

Commit 188a7f9

Browse files
committed
misc - exclude jacoco java 11 specific files
Jacoco doesn't support multi-jar, in order to avoid"Can't add different class with same name" exception
1 parent e90294e commit 188a7f9

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- env: srv=mariadb v=10.3 local=1
4343
- env: srv=mariadb v=10.4 local=1
4444
- env: srv=mariadb v=10.5 packet=40
45-
- env: srv=mariadb v=10.5 packet=8
45+
- env: srv=mariadb v=10.5 packet=8 jdk=openjdk8
4646
- env: srv=mariadb v=10.5 BENCH=1
4747
- env: srv=maxscale
4848
- env: srv=build v=10.6

pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,9 @@
271271
<configuration>
272272
<destFile>${jacoco.reportPath}</destFile>
273273
<append>true</append>
274-
274+
<excludes>
275+
<exclude>META-INF/**</exclude>
276+
</excludes>
275277
</configuration>
276278
<executions>
277279
<execution>

0 commit comments

Comments
 (0)