I am trying to use the Maven assembly plugin to build a jar-with-dependencies, except those that have provided scope.
I have copied the jar-with-dependencie
In theory the tags "ignoreNonCompile" and "excludeScope" should help, but be warned that they do not necessarily work properly.
With maven3 and the maven-dependency-plugin 2.4, one solution is:
junit,mockito-all true