File tree 1 file changed +9
-6
lines changed
1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 494
494
https://github.com/spring-projects/spring-boot/blob/v2.0.9.RELEASE/spring-boot-project/spring-boot-dependencies/pom.xml
495
495
-->
496
496
<properties >
497
+ <!--
498
+ Workaround for a bug in surefire plugin: it doesn't respect sourceEncoding
499
+ and doesn't pass it into a forked process.
500
+ See: https://stackoverflow.com/questions/17656475/maven-source-encoding-in-utf-8-not-working
501
+
502
+ Note: don't put this property within surefire-maven-plugin as it would break jacoco-maven-plugin.
503
+ -->
504
+ <argLine >-Dfile.encoding=${project.build.sourceEncoding} -Xss256k</argLine >
505
+
497
506
<!-- Redefine default value from spring-boot-dependencies -->
498
507
<assertj .version>3.14.0</assertj .version>
499
508
955
964
<configuration >
956
965
<skipTests >${skipUnitTests} </skipTests >
957
966
<disableXmlReport >${disableXmlReport} </disableXmlReport >
958
- <!--
959
- Workaround for a bug in surefire plugin: it doesn't respect sourceEncoding
960
- and doesn't pass it into a forked process.
961
- See: https://stackoverflow.com/questions/17656475/maven-source-encoding-in-utf-8-not-working
962
- -->
963
- <argLine >-Dfile.encoding=${project.build.sourceEncoding} -Xss256k</argLine >
964
967
</configuration >
965
968
</plugin >
966
969
You can’t perform that action at this time.
0 commit comments