Add a shaded -all-deps.jar target
diff --git a/pom.xml b/pom.xml
index 3e37fa9..84ba338 100644
--- a/pom.xml
+++ b/pom.xml
@@ -149,6 +149,37 @@
<argLine>-Xmx2g</argLine>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>2.4.3</version>
+ <executions>
+ <execution>
+ <id>shade-all-deps</id>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <shadedArtifactAttached>true</shadedArtifactAttached>
+ <shadedClassifierName>all-deps</shadedClassifierName>
+ <createDependencyReducedPom>false</createDependencyReducedPom>
+ <!-- http://stackoverflow.com/a/6743609 -->
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
</plugins>
</build>
<profiles>