How to invoke maven plugin's goal in our build.gradle?


(Rahul Pandey) #1

How to invoke maven plugin’s goal in our build.gradle?


(Peter Niederwieser) #2

Maven plugins can’t be used directly in a Gradle build. What you can do is to invoke Maven with an ‘Exec’ task.


(Rahul Pandey) #3

Thanks for your reply Peter. If possible then can you please demostrate it in sample build.gradle


(Peter Niederwieser) #4

See ‘Exec’ in the Gradle Build Language Reference.