updated pom.xml with encoding properties to fix failures in Jenkins.