refactor pom file to eliminate errors