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). Related to #48.
This commit is contained in:
parent
c117c119eb
commit
1dbd23968c
6
pom.xml
6
pom.xml
|
@ -72,6 +72,12 @@
|
|||
<version>${elasticsearch.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.lucene</groupId>
|
||||
<artifactId>lucene-core</artifactId>
|
||||
<version>${lucene.version}</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.elasticsearch</groupId>
|
||||
|
|
Loading…
Reference in New Issue