Benson, thanks for taking a look. This is probably the relevant XML being
used, sorry for clogging up the body, attachments probably do not work. I
have tried variants on <exclude>org.apache.solr</exclude> such as
<exclude>org.apache.solr.*</exclude> and <exclude>org/apache/solr</exclude>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<outputDirectory/>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.7</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<artifactSet>
<includes>
<include>*:*</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/**</exclude>
<exclude>LICENSE</exclude>
<exclude>NOTICE</exclude>
<exclude>/*.txt</exclude>
<exclude>build.properties</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<!-- <pattern>*/*</pattern> -->
<shadedPattern>com.custom.solr.</shadedPattern>
<excludes>
<exclude>org.apache.solr</exclude>
<exclude>org.apache.lucene</exclude>
</excludes>
</relocation>
</relocations>
</configuration>
</execution>
</executions>
</plugin>