Add task to generate pom.