Adapting pom.xml