Loading

maven设置编辑级别,设置编码来源

使用:

<properties>
  <maven.compiler.source>1.8</maven.compiler.source>
  <maven.compiler.target>1.8</maven.compiler.target>
  <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

来源:

http://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html

http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#resourceEncoding

posted @ 2020-03-17 09:29  stono  阅读(346)  评论(0编辑  收藏  举报