I'm using the maven-assembly-plugin to create a jar file that contains all of the dependencies needed to run my app. The configuration for the assembly uses a descriptorRef that points to my custom assembly.
When I look in the maven repository, I see the jar, the pom, and the jar-with-dependencies that is the point of the exercise.
When I pull jar-with-dependencies using maven-dependency-plugin:2.4:get, in addition to copying jar-with-dependencies to dest, it also pulls down the transitive dependencies to my local maven repository.
The behavior I expected to see, since jar-with-dependencies has everything already embedded in it, is that only that jar file would be retrieved. In other words, I expected the behavior I see when I call dependency:get with -Dtransitive=false.
Does the fact that I need the transitive flag indicate that something is incorrect or missing in, presumably either in the pom or in the assembly descriptor? Should I be doing something different in the pom or the assembly so that the jar-with-dependencies has an empty list of dependencies?