Removing duplications between pom definitions