How to make maven build platform independent?
linux, maven
Solution
It happens when you have not provided following in your pom.xml
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
Absence of this means you are using platform specific encoding and that's why the warning.
Problem
When building using Maven on my mac, on `mvn install` i get [WARNING] Using platform encoding (MacRoman actually) to copy filtered resources, i.e. build is platform dependent! Is it possible to either build for a given platform (Linux) or otherwise make build platform independent?