> I suggest adding a custom goal maven.xml that adds the test classes
dir to
> the list of source dirs, then creates the jar.

Thanks. I ended up adding this goal, which produces a separate test jar:

   <goal name="test-build">
     <attainGoal name="test:compile"/>
     <ant:jar destfile="./target/Module-test-${pom.currentVersion}.jar"
         basedir="target/test-classes"
         includes="**/**"/>
   </goal>

I had to add this to <project> as well:

xmlns:ant="jelly:ant"

Morgan 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to