Add project.build.sourceEncoding to project properties.