I'm trying to exclude a series of artifacts when building the uber-jar with the Maven Shade plugin. Below is the configuration I'm using for this:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<artifactSet>
<excludes>
<exclude>com.fasterxml.jackson.core:jackson-core:jar:2.4.5</exclude>
</excludes>
</artifactSet>
...
Excluding the package without version information works:
<exclude>com.fasterxml.jackson.core:jackson-core</exclude>
But unfortunately that is not an option because there's a different version of the artifact that does need to be included.