Skip to content

Commit b47b86e

Browse files
author
Vladimir Kotal
committed
reenable Coveralls
1 parent 366a4ff commit b47b86e

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-7
lines changed

dev/main

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,8 @@
66
#
77
extra_args=""
88
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"
1611

1712
#
1813
# Sonar seems to only work on master branch commits.

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,22 @@ Portions Copyright (c) 2018, 2020, Chris Fraire <[email protected]>.
260260
</execution>
261261
</executions>
262262
</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>
263279
<plugin>
264280
<groupId>org.apache.maven.plugins</groupId>
265281
<artifactId>maven-javadoc-plugin</artifactId>

0 commit comments

Comments
 (0)