To generate a pom.xml file just run `gradle writeNewPom` If you want to generate it as pom.xml in the root of the project, replace `writeTo("$buildDir/newpom.xml")` with `writeTo("pom.xml")`