Maven's assembly plugin enables the creation of a big jar including all dependencies with descriptorRef `jar-with-dependencies`.

How can one exclude some of these dependencies? It seems like it does not have such a configuration? Is there another solution?