I have my code packaged into a jar
The jar is packaged ok.
jar -tfv target/test-1.0-SNAPSHOT.jar com/ com/codevalid/ com/codevalid/App.class log4j.x
You have to specify classpathScope and includePluginDependencies or includeProjectDependencies parameters to pickup jar files on the classpath.
Here is an example:
java com.google.jstestdriver.JsTestDriver test true true --port 9876