Got `elasticsearch` directory is missing in the plugin zip when trying to install from jar

I’m using ES 5.1.2. I want to do some tests so I need to install from source. I clone source code and mvn package to create few jar files.

bin/elasticsearch-plugin install file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar

will show


-> Downloading file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar

[=================================================] 100%

ERROR: `elasticsearch` directory is missing in the plugin zip

but bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.1.2-11 works fine. I open the search-guard-5 jar file in /plugins, didn’t see any /elasticsearch directory in it.

Does anyone know what elasticsearch directory does it refer to?

you must install the .zip file, not the jar

···

Am 15.03.2017 um 08:05 schrieb Ray Wu <rayjcwu@gmail.com>:

I'm using ES 5.1.2. I want to do some tests so I need to install from source. I clone source code and `mvn package` to create few jar files.

`bin/elasticsearch-plugin install file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar`

will show

-> Downloading file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar
[=================================================] 100%
ERROR: `elasticsearch` directory is missing in the plugin zip

but `bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.1.2-11` works fine. I open the search-guard-5 jar file in /plugins, didn't see any /elasticsearch directory in it.

Does anyone know what elasticsearch directory does it refer to?

--
You received this message because you are subscribed to the Google Groups "Search Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.
To post to this group, send email to search-guard@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/f8156f33-cd34-4313-bf09-70d9bf3f7531%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

found it, thanks.

···

On Wednesday, March 15, 2017 at 12:24:36 AM UTC-7, Search Guard wrote:

you must install the .zip file, not the jar

Am 15.03.2017 um 08:05 schrieb Ray Wu ray...@gmail.com:

I’m using ES 5.1.2. I want to do some tests so I need to install from source. I clone source code and mvn package to create few jar files.

bin/elasticsearch-plugin install file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar

will show

-> Downloading file:///Users/rayjcwu/repo/search-guard/target/search-guard-5-5.1.2-12-SNAPSHOT.jar

[=================================================] 100%

ERROR: elasticsearch directory is missing in the plugin zip

but bin/elasticsearch-plugin install -b com.floragunn:search-guard-5:5.1.2-11 works fine. I open the search-guard-5 jar file in /plugins, didn’t see any /elasticsearch directory in it.

Does anyone know what elasticsearch directory does it refer to?


You received this message because you are subscribed to the Google Groups “Search Guard” group.

To unsubscribe from this group and stop receiving emails from it, send an email to search-guard...@googlegroups.com.

To post to this group, send email to search...@googlegroups.com.

To view this discussion on the web visit https://groups.google.com/d/msgid/search-guard/f8156f33-cd34-4313-bf09-70d9bf3f7531%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.