Skip to content

Misc Notes 👷🏼‍♂️👷🏼‍♀️

Using platform encoding ... build is platform dependent

This or a similar warning is emitted by a plugin that processes plain text files but has not been configured to use a specific file encoding. So eliminating the warning is simply a matter of finding out which plugin emits it and how to configure the file encoding for it.

Add the following property to your pom.xml (or one of it's parent pom's)

  <properties>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  </properties>