Browse Source

指定编译编码为utf8

yex 3 years ago
parent
commit
83d8a48d00
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pom.xml

+ 1 - 0
pom.xml

@@ -24,6 +24,7 @@
         <maven.compiler.source>${java.version}</maven.compiler.source>
         <maven.compiler.target>${java.version}</maven.compiler.target>
         <maven-surefire-plugin.version>3.0.0-M5</maven-surefire-plugin.version>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     </properties>
 
     <dependencyManagement>