Skip to content

Commit

Permalink
Set \n as line.separator and utf-8 charset
Browse files Browse the repository at this point in the history
  • Loading branch information
pitbulk committed May 18, 2021
1 parent 3c79c8c commit ab7e4d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<argLine>${jacoco.agent.argLine}</argLine>
<encoding>${project.build.sourceEncoding}</encoding>
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
<argLine>${jacoco.agent.argLine} -Dfile.encoding=${project.build.sourceEncoding} -Dline.separator=$'\n'</argLine>
</configuration>
</plugin>
<plugin>
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.resourceEncoding>UTF-8</project.build.resourceEncoding>
<slf4jVersion>1.7.30</slf4jVersion>
<junitVersion>4.13.1</junitVersion>
<logbackVersion>1.2.3</logbackVersion>
Expand Down
5 changes: 4 additions & 1 deletion toolkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.2</version>
<configuration>
<argLine>${jacoco.agent.argLine}</argLine>
<encoding>${project.build.sourceEncoding}</encoding>
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
<outputEncoding>${project.build.sourceEncoding}</outputEncoding>
<argLine>${jacoco.agent.argLine} -Dfile.encoding=${project.build.sourceEncoding} -Dline.separator=$'\n'</argLine>
</configuration>
</plugin>
</plugins>
Expand Down

0 comments on commit ab7e4d7

Please sign in to comment.