Alex Rivera | Logout

Gradle build.gradle to Maven pom.xml

Asked 2012-10-15T02:20:58.557
84

I have a Gradle project and I need all its dependencies to be transferred and used with another Maven project. In other words how can I generate (or can I generate) the pom.xml from the build.gradle?

Edit
Report

1 Answer

15

The most built in solution would likely be to use the archiveTask task in the Maven Plugin which will generate a pom in the poms folder in your build dir. http://www.gradle.org/docs/current/userguide/maven_plugin.html#sec:maven_pom_generation

answered 2012-10-15T02:33:47.903

Your Answer