We've introduced a new configuration parameter to set the 'encoding' for all sources of a project. http://axonivy.github.io/project-build-plugin/snapshot/6.3/compileProject-mojo.html#encoding
It is yet only possible to use this feature if you use the latest SNAPSHOT release of the project-build-plugin plus a nightly engine: http://developer.axonivy.com/dev-releases/nightly.html
We'd love to get feedback if this works for your project:
<plugin>
<groupId>com.axonivy.ivy.ci</groupId>
<artifactId>project-build-plugin</artifactId>
<version>6.3.1-SNAPSHOT</version>
<extensions>true</extensions>
<configuration>
<encoding>UTF-8</encoding>
<engineListPageUrl>http://developer.axonivy.com/dev-releases/nightly.html</engineListPageUrl>
</configuration>
</plugin>
you will also need a configuration to use sonatype snapshot repository in order to get this release:
<pluginRepositories>
<!-- Snapshot releases are not deployed to maven central. So the repo on sonatype could be used instead -->
<pluginRepository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<snapshots>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>