Skip to content

Commit 98d3cb3

Browse files
committed
add and configure coveralls-maven-plugin
In order to report code coverage to Coveralls.io add the `coveralls-maven-plugin` [1] and fix the error occured on execution > [ERROR] Failed to execute goal org.eluder.coveralls:coveralls-maven-plugin:4.3.0:report (default-cli) on project org.everit.json.schema: Build error: Source encoding not set, use <sourceEncoding> configuration option or set project wide property <project.build.sourceEncoding> -> [Help 1] simply by adding both both configuration properties * `<project.build.sourceEncoding/>` * `<project.reporting.outputEncoding/>` [1] https://github.com/trautonen/coveralls-maven-plugin
1 parent c2cd74e commit 98d3cb3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<version>1.4.1</version>
2525
<packaging>bundle</packaging>
2626
<properties>
27+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28+
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
2729
<projectpath>json-schema</projectpath>
2830
<maven.compiler.source>1.8</maven.compiler.source>
2931
<maven.compiler.target>1.8</maven.compiler.target>
@@ -96,6 +98,11 @@
9698
<argLine>${surefireArgLine}</argLine>
9799
</configuration>
98100
</plugin>
101+
<plugin>
102+
<groupId>org.eluder.coveralls</groupId>
103+
<artifactId>coveralls-maven-plugin</artifactId>
104+
<version>4.3.0</version>
105+
</plugin>
99106
</plugins>
100107
</build>
101108
<dependencies>

0 commit comments

Comments
 (0)