Skip to content

Commit f5539c8

Browse files
author
Guilherme Biff Zarelli
committed
codcov: coveralls
1 parent bb00d62 commit f5539c8

File tree

2 files changed

+19
-4
lines changed

2 files changed

+19
-4
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ on:
1111

1212
jobs:
1313
build:
14-
1514
runs-on: ubuntu-latest
16-
1715
steps:
1816
- uses: actions/checkout@v2
1917
- name: Set up JDK 11
2018
uses: actions/setup-java@v1
2119
with:
2220
java-version: 11
2321
- name: Build with Maven
24-
run: mvn -B package --file pom.xml
22+
run: mvn clean verify coveralls:report -DrepoToken=$COVERALLS_REPO_TOKEN

pom.xml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
<microprofile-fault-tolerance.version>3.0</microprofile-fault-tolerance.version>
6666
<modelmapper.version>2.3.0</modelmapper.version>
6767
<glassfish.version>2.22.2</glassfish.version>
68+
<jaxb-api.version>2.3.1</jaxb-api.version>
6869
</properties>
6970

7071
<dependencies>
@@ -143,7 +144,11 @@
143144
<groupId>org.eclipse.microprofile.fault-tolerance</groupId>
144145
<artifactId>microprofile-fault-tolerance-spec</artifactId>
145146
</dependency>
146-
147+
<dependency>
148+
<groupId>javax.xml.bind</groupId>
149+
<artifactId>jaxb-api</artifactId>
150+
<version>${jaxb-api.version}</version>
151+
</dependency>
147152
<dependency>
148153
<groupId>org.eclipse.microprofile.rest.client</groupId>
149154
<artifactId>microprofile-rest-client-api</artifactId>
@@ -279,6 +284,18 @@
279284

280285
<build>
281286
<plugins>
287+
<plugin>
288+
<groupId>org.eluder.coveralls</groupId>
289+
<artifactId>coveralls-maven-plugin</artifactId>
290+
<version>4.3.0</version>
291+
<dependencies>
292+
<dependency>
293+
<groupId>javax.xml.bind</groupId>
294+
<artifactId>jaxb-api</artifactId>
295+
<version>${jaxb-api.version}</version>
296+
</dependency>
297+
</dependencies>
298+
</plugin>
282299
<plugin>
283300
<artifactId>maven-compiler-plugin</artifactId>
284301
<version>3.8.1</version>

0 commit comments

Comments
 (0)