Changing pom and other files to fix errors