> I get a build success, but when I inspect the generated jar, I don’t
> see the junit classes

Firstly, you are not crerating a test JAR but a regular JAR with
application classes, so of course test-scoped dependencies like JUnit
are not going to be contained in the uber JAR.

Secondly, you are even explicitly excluding JUnit, so how could you
expect it to be included, even if it was not test-scoped?

> <exclude>junit:junit</exclude>

-- 
Alexander Kriegisch
https://scrum-master.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to