Fixing pom files to build the project