From 3616ed6dddf69787bdc673652a643455b7cbffac Mon Sep 17 00:00:00 2001 From: David Pilato Date: Mon, 17 Mar 2014 10:36:42 +0100 Subject: [PATCH] Elasticsearch dependency should be provided and not compile Please change the Elasticsearch dependency to provided (and maybe testCompile) instead of compile and runtime. Why? If you include the plugin in embedded Elasticsearch, and you exclude anything from the Elasticsearch dependency, it is undone by this dependency also including Elasticsearch. Therefore you have to tune both, when really this plugin only needs it as provided (since it runs with Elasticsearch or in Elasticsearch but never on its own). Closes #48. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9b059ff4cd0..dad7378cb05 100644 --- a/pom.xml +++ b/pom.xml @@ -69,7 +69,7 @@ org.elasticsearch elasticsearch ${elasticsearch.version} - compile + provided