# Plugin development and test dependencies with elastic 5.0.0

**URL:** <https://discuss.elastic.co/t/plugin-development-and-test-dependencies-with-elastic-5-0-0/51482>\
**Category:** Elasticsearch\
**Created:** [May 31, 2016, 8:17pm UTC](https://discuss.elastic.co/t/plugin-development-and-test-dependencies-with-elastic-5-0-0/51482 "2016-05-31T20:17:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![David\_Causse](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@David\_Causse](https://discuss.elastic.co/u/David_Causse)\
**Post date:** [May 31, 2016, 8:17pm UTC](https://discuss.elastic.co/t/plugin-development-and-test-dependencies-with-elastic-5-0-0/51482/1 "2016-05-31T20:17:08Z")

</div>

Hi,

I'm maintaining various plugins and one of them uses another plugin as a test dependency (e.g. analysis-icu).  
With the 2.x code base I could simply add:

```auto
    <dependency>
      <groupId>org.elasticsearch.plugin</groupId>
      <artifactId>analysis-icu</artifactId>
      <version>${elasticsearch.version}</version>
      <scope>test</scope>
    </dependency>

```

And implements ESIntegTestCase like this:

```auto
    @Override
    protected Collection<Class<? extends Plugin>> nodePlugins() {
        return Collections.unmodifiableCollection(
                Arrays.asList(MyPlugin.class, AnalysisICUPlugin.class));
    }

```

But now the jar is no more shipped with these plugins c.f. [http://repo1.maven.org/maven2/org/elasticsearch/plugin/analysis-icu/5.0.0-alpha3/](http://repo1.maven.org/maven2/org/elasticsearch/plugin/analysis-icu/5.0.0-alpha3/)

Any suggestions?

Thanks!

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 31, 2016, 8:31pm UTC](https://discuss.elastic.co/t/plugin-development-and-test-dependencies-with-elastic-5-0-0/51482/2 "2016-05-31T20:31:09Z")

</div>

You can read this issue: [https://github.com/elastic/elasticsearch/issues/18131](https://github.com/elastic/elasticsearch/issues/18131) and comment there if you wish.

---

<div class="post-metadata">

**Author:** ![David\_Causse](https://avatars.discourse-cdn.com/v4/letter/d/ccd318/32.png) [@David\_Causse](https://discuss.elastic.co/u/David_Causse)\
**Post date:** [May 31, 2016, 8:58pm UTC](https://discuss.elastic.co/t/plugin-development-and-test-dependencies-with-elastic-5-0-0/51482/3 "2016-05-31T20:58:45Z")

</div>

I was afraid of this particular reason...

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:47pm UTC](https://discuss.elastic.co/t/plugin-development-and-test-dependencies-with-elastic-5-0-0/51482/4 "2017-07-05T22:47:31Z")

</div>


