Mark 'lucene-expression' as 'provided' in pom.xml
We currently pull in the lucene-expression module that is referenced by lucene-suggest. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs like `antlr` and `asm` which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see #4858) If we mark the dependency as provided it won't be included in the distribution. Closes #4859 Closes #4858
This commit is contained in:
parent
d9b71a8083
commit
416e328cea
6
pom.xml
6
pom.xml
|
@ -39,6 +39,12 @@
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.lucene</groupId>
|
||||||
|
<artifactId>lucene-expressions</artifactId>
|
||||||
|
<version>${lucene.version}</version>
|
||||||
|
<scope>provided</scope>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.hamcrest</groupId>
|
<groupId>org.hamcrest</groupId>
|
||||||
<artifactId>hamcrest-all</artifactId>
|
<artifactId>hamcrest-all</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue