How to include test classes in Jar created by maven-shade-plugin?
Answering late, but got a working solution which may help future visitors of this question. I succeed on having a fat jar using only one Maven plugin and including: The test classes The application code classes External dependencies required by application code (in compile scope) External dependencies required by the test code (in test scope) … Read more