Maven Surefire

There should be a way to run unit tests from a dependency jar.