Changed build file to generate correct pom file