Right now, we're not explicitly building things with an explicit encoding, and relying on the system's encoding. This ends up with warnings such as:
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
This is probably fine as long as we stick with utf-8, but it'd probably be nice to be explicit. This can be solved by creating ~/.m2/settings.xml for the jenkins user with the following:
<settings>
<profiles>
<profile> <id>profile-utf</id> <properties> <project.build.sourceEncoding> UTF-8 </project.build.sourceEncoding> <project.reporting.outputEncoding> UTF-8 </project.reporting.outputEncoding> </properties> </profile>
</profiles>
<activeProfiles>
<activeProfile>profile-utf</activeProfile>
</activeProfiles>
</settings>
Version: wmf-deployment
Severity: enhancement