# Must I roll a specific plugin version for each {release} x {java} AND let users specify it upon installation?

**URL:** <https://discuss.elastic.co/t/must-i-roll-a-specific-plugin-version-for-each-release-x-java-and-let-users-specify-it-upon-installation/56385>\
**Category:** Elasticsearch\
**Created:** [July 26, 2016, 10:55am UTC](https://discuss.elastic.co/t/must-i-roll-a-specific-plugin-version-for-each-release-x-java-and-let-users-specify-it-upon-installation/56385 "2016-07-26T10:55:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![martijnbastiaan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/martijnbastiaan/32/11064_2.png) [@martijnbastiaan](https://discuss.elastic.co/u/martijnbastiaan)\
**Post date:** [July 26, 2016, 10:55am UTC](https://discuss.elastic.co/t/must-i-roll-a-specific-plugin-version-for-each-release-x-java-and-let-users-specify-it-upon-installation/56385/1 "2016-07-26T10:55:55Z")

</div>

Hi all,

I've written a plugin for elasticsearch ([https://github.com/amcat/hitcount](https://github.com/amcat/hitcount)). I can now install the plugin using:

```bash
bin/plugin install amcat/hitcount

```

In order for this to work, the elasticsearch and java version you're running should be equal to the version specified in `plugin-descriptor.properties`. In all other cases, users should specificy the version explicitely:

```bash
bin/plugin install amcat/hitcount/2.3.4

```

In order for this to work however, I need to create a release for every elasticsearch version AND java version. My questions are:

- Is it possible to, just like the internal plugins, omit the version number and let elastic pick the correct version automatically?
- Is it possible to specify multiple versions in `plugin-descriptor.properties`, especially for the Java version?

---

<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:** [July 26, 2016, 12:02pm UTC](https://discuss.elastic.co/t/must-i-roll-a-specific-plugin-version-for-each-release-x-java-and-let-users-specify-it-upon-installation/56385/2 "2016-07-26T12:02:01Z")

</div>

Check is done for elasticsearch version. I don't think we check the exact version for the JVM.

So you have to release your plugin anytime you want to be able to use it with a new elasticsearch version.  
You can't specify multiple values.

---

<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:32pm UTC](https://discuss.elastic.co/t/must-i-roll-a-specific-plugin-version-for-each-release-x-java-and-let-users-specify-it-upon-installation/56385/3 "2017-07-05T22:32:54Z")

</div>


