File tree Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Expand file tree Collapse file tree 2 files changed +18
-7
lines changed Original file line number Diff line number Diff line change 6
6
#
7
7
extra_args=" "
8
8
if [ " x$TRAVIS_REPO_SLUG " == " xoracle/opengrok" ]; then
9
- # Code coverage is published only for JDK 8 because the
10
- # coveralls-maven-plugin does not work with JDK 9+
11
- # (https://github.com/trautonen/coveralls-maven-plugin/issues/112)
12
- if [ " x$TRAVIS_JDK_VERSION " == " xoraclejdk8" ]; then
13
- echo " Enabling Coveralls"
14
- extra_args=" jacoco:report org.eluder.coveralls:coveralls-maven-plugin:report"
15
- fi
9
+ echo " Enabling Coveralls"
10
+ extra_args=" jacoco:report coveralls:report"
16
11
17
12
#
18
13
# Sonar seems to only work on master branch commits.
Original file line number Diff line number Diff line change @@ -260,6 +260,22 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <
[email protected] >.
260
260
</execution >
261
261
</executions >
262
262
</plugin >
263
+ <plugin >
264
+ <groupId >org.eluder.coveralls</groupId >
265
+ <artifactId >coveralls-maven-plugin</artifactId >
266
+ <version >4.3.0</version >
267
+ <dependencies >
268
+ <!-- Explicit dep on jaxb-api to avoid problems with
269
+ JDK9 and later, until a new version of
270
+ coveralls-maven-plugin is released.
271
+ See also https://github.com/trautonen/coveralls-maven-plugin/issues/112-->
272
+ <dependency >
273
+ <groupId >javax.xml.bind</groupId >
274
+ <artifactId >jaxb-api</artifactId >
275
+ <version >2.3.1</version >
276
+ </dependency >
277
+ </dependencies >
278
+ </plugin >
263
279
<plugin >
264
280
<groupId >org.apache.maven.plugins</groupId >
265
281
<artifactId >maven-javadoc-plugin</artifactId >
You can’t perform that action at this time.
0 commit comments