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