Added property project.build.sourceEncoding to main pom.xml.