Added gradle task to generate pom.xml