Make pom work on recent maven