title: Maven: How to exclude an artifact from fat-jar?
body: <p>I know about the <code>&lt;exclusions&gt;</code> attribute that is placed inside a <code>&lt;dependency&gt;</code> to exclude specific artifacts from a dependency but the problem with this is that one has to find out all the dependencies that might have the artifact that is desired to be excluded and then one by one exclude that artifact from all those dependencies. Isn't there a simpler way of specifying in the pom that a certain artifact should not end up in the fat-jar no matter what dependency is trying to include it?</p>