title: How to configure pom to run tests packaged in a jar?
body: <p>I have a maven build process that publishes executable jars and their tests to Nexus.
  I have another maven build process that needs to access these jars (executable + test) and run the tests. </p>
  
  <p>How do I go about it? So far I have managed to do this only if the jar is exploded to class files.
  I am new to maven and completely lost in the documentation.</p>