The Maven JOMC Plugin provides a ResourceTransformer implementation for use with the Maven Shade Plugin..
<project> ... <plugins> ... <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.4</version> <dependencies> <dependency> <groupId>org.jomc</groupId> <artifactId>maven-jomc-plugin</artifactId> <version>1.6.2</version> </dependency> </dependencies> <configuration> ... <transformers> <transformer implementation="org.jomc.mojo.JomcResourceTransformer"> <modletName>Name</modletName> <moduleName>Name</moduleName> </transformer> </transformers> ... </configuration> </plugin> ... </plugins> ... </project>