I have a custom maven plugin which has some important code generation technique. I want to invoke maven goal via Gradle to trigger this code generation. Of course I can write maven goal itself in Groovy script, but we want to support both Maven and Gradle for some time.
I could not find any way to achieve this. Please let me know if there a way to do this.