How to invoke maven plugin’s goal in our build.gradle?
Maven plugins can’t be used directly in a Gradle build. What you can do is to invoke Maven with an ‘Exec’ task.
Thanks for your reply Peter. If possible then can you please demostrate it in sample build.gradle
See ‘Exec’ in the Gradle Build Language Reference.