Adding compiler encoding to pom to avoid errors