Disable minimizeJar in pom.xml

The javax package finds some needed classfiles by reflection. Minimizing the shaded jar meant that these were not available.

Fixes elastic/elasticsearch#254

Original commit: elastic/x-pack-elasticsearch@7cdc3bc55b
This commit is contained in:
Brian Murphy 2015-04-23 17:37:39 -04:00
parent 80a766d18e
commit a68d9018f2
1 changed files with 2 additions and 2 deletions

View File

@ -301,11 +301,11 @@
</executions> </executions>
<configuration> <configuration>
<shadeTestJar>false</shadeTestJar> <shadeTestJar>false</shadeTestJar>
<minimizeJar>true</minimizeJar> <minimizeJar>false</minimizeJar>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies> <promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<artifactSet> <artifactSet>
<includes> <includes>
<include>com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer</include> <include>com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer</include>
<include>javax.mail:mail</include> <include>javax.mail:mail</include>
<include>javax.activation:activation</include> <include>javax.activation:activation</include>
</includes> </includes>