Add and shade dependency on com.google.guava

This is needed for owasp to load the Sanitizers class at runtime.

Original commit: elastic/x-pack-elasticsearch@4ed5776509
This commit is contained in:
Brian Murphy 2015-05-03 20:53:16 -04:00
parent 0a545cb358
commit bc78dd36c9
1 changed files with 7 additions and 0 deletions

View File

@ -161,6 +161,12 @@
<version>r239</version>
</dependency>
<dependency> <!-- required for owasp to work -->
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>r05</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-core</artifactId>
@ -312,6 +318,7 @@
<artifactSet>
<includes>
<include>com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer</include>
<include>com.google.guava:guava</include>
<include>javax.mail:mail</include>
<include>javax.activation:activation</include>
</includes>