Set platform encoding to ensure build is platform-independent by basil · Pull Request #97 · jenkinsci/swarm-plugin (original) (raw)

Problem

The build reports the following warnings:

[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!

Solution

Set the encoding as done in the plugin POM.