It could be I'm missing something. Here's how I ultimately defined my dep
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>${es.version}</version>
<exclusions>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
</exclusion>
<exclusion>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
</exclusion>
</exclusions>
</dependency>
and everything's working fine. App deploys and WildFly is happy. When I
take out my exclusions, this is the resulting dep tree:
[INFO] - org.elasticsearch:elasticsearch:jar:1.3.0:compile
[INFO] +- org.apache.lucene:lucene-core:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-analyzers-common:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-codecs:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-queries:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-memory:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-highlighter:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-queryparser:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-sandbox:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-suggest:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-misc:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-join:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-grouping:jar:4.9.0:compile
[INFO] +- org.apache.lucene:lucene-spatial:jar:4.9.0:compile
[INFO] | - com.spatial4j:spatial4j:jar:0.4.1:compile
[INFO] +- org.antlr:antlr-runtime:jar:3.5:compile
[INFO] +- org.ow2.asm:asm:jar:4.1:compile
[INFO] - org.ow2.asm:asm-commons:jar:4.1:compile
I'm not seeing mvel or lucene-expression in this list... Should i be
worried?
John
On Saturday, July 26, 2014 10:46:19 AM UTC-4, Jörg Prante wrote:
Keep lucene expression jar and mvel jar, just asm jar should be excluded.
I like the client too :- it's not just an idea
GitHub - jprante/elasticsearch-client: Modularized, OpenJDK 11 version of Elasticsearch client
it has to be updated to current ES version though.
Jörg
On Sat, Jul 26, 2014 at 3:12 PM, John D. Ament <john.d...@gmail.com
<javascript:>> wrote:
So, I'm assuming all this means I can safely remove expression, mvel, asm
from my packaging requirements?
I like this idea BTW
Mark 'lucene-expression' as 'provided' in pom.xml · Issue #4859 · elastic/elasticsearch · GitHub (at the
bottom).
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/0087b76d-5249-4940-bd75-10dc7de1102b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.