Skip to content

Commit

Permalink
Set file.encoding=UTF-8 on Maven Surefire Plugin
Browse files Browse the repository at this point in the history
See gh-635
  • Loading branch information
kazuki43zoo committed Jun 12, 2022
1 parent a634e82 commit f2510b9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,14 @@
<siteDirectory>${project.build.directory}/site-src</siteDirectory>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!-- Add setting 'file.encoding' for Windows environment -->
<argLine>${argLine} -Djdk.attach.allowAttachSelf -Dfile.encoding=UTF-8</argLine>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
Expand Down

0 comments on commit f2510b9

Please sign in to comment.