# Elasticsearch Maven Plugin using gradle

**URL:** <https://discuss.elastic.co/t/elasticsearch-maven-plugin-using-gradle/115557>\
**Category:** Elasticsearch\
**Created:** [January 15, 2018, 2:27pm UTC](https://discuss.elastic.co/t/elasticsearch-maven-plugin-using-gradle/115557 "2018-01-15T14:27:27Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [January 17, 2018, 2:43am UTC](https://discuss.elastic.co/t/elasticsearch-maven-plugin-using-gradle/115557/8 "2018-01-17T02:43:44Z")

</div>

I joined the conversation late and did not fully read your original  
intention. I simply thought you wanted to use the plugin plugin.

That plugin is meant to develop plugins, but it probably can be repurposed  
to simply run integration tests. Your integration test gradle task would  
need to depend on the integTestCluster task. I do not think you will be  
able to use the clients though, so you will need to make sure that the test  
cluster starts on a port you are expecting. Perhaps there is some  
elasticsearch project that already has this behavior.

---

_[View the full topic](https://discuss.elastic.co/t/elasticsearch-maven-plugin-using-gradle/115557)._
