Fixing encoding of generated sources.
Fixes unmappable character warnings in jenkinsci/jenkins:
MAVEN_OPTS=-Dfile.encoding=Cp1252 mvn -DskipTests -f core/pom.xml clean compile