Refactoring pom files