Elasticsearch Maven Plugin using gradle

Better to use elasticsearch gradle plugin in that case.

I wrote an example there: Elasticsearch.esplugin: Replace/Change/Disable integTestCluster#wait Task

Might help...