Coping with dependencies of type pom