在mac上使用Maven进行构建时,在mvn install
[警告]使用平台编码(实际上是MacRoman)复制过滤后的
Is it possible to either build for a given platform (Linux) or otherwise make build platform independent?
在mac上使用Maven进行构建时,在mvn install
[警告]使用平台编码(实际上是MacRoman)复制过滤后的
Is it possible to either build for a given platform (Linux) or otherwise make build platform independent?
当你没有在pom中提供以下内容时,就会发生这种情况.xml
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
缺少这一点意味着您使用的是特定于平台的编码,这就是警告的原因.