Added encoding property in pom.