Fixed pom.xml writing