Skip to content

Commit

Permalink
增加 UT 时的文件编码(解决UT中有中文会乱码的问题) (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeRan213539 authored Apr 15, 2021
1 parent 458517f commit f906491
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,13 @@
</licenses>

<properties>
<argLine>-Dfile.encoding=UTF-8</argLine>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- Compiler settings properties -->
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<!-- Exclude all generated code -->
<sonar.jacoco.itReportPath>${project.basedir}/../test/target/jacoco-it.exec
Expand Down

0 comments on commit f906491

Please sign in to comment.