Skip to content

Commit 3616ed6

Browse files
committed
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.
1 parent bbb0644 commit 3616ed6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
<groupId>org.elasticsearch</groupId>
7070
<artifactId>elasticsearch</artifactId>
7171
<version>${elasticsearch.version}</version>
72-
<scope>compile</scope>
72+
<scope>provided</scope>
7373
</dependency>
7474

7575
<dependency>

0 commit comments

Comments
 (0)