Reputation: 624
I have an existing pom.xml which I want my build.gradle should call while running gradle build. The pom.xml and build.gradle are at the same location. Which gradle task can help me doing this?
Upvotes: 2
Views: 609
Reputation: 123976
task runMavenBuild(type: Exec) {
executable = "mvn" // must reside on PATH
args "install"
}
Upvotes: 2