I suggest adding a custom goal maven.xml that adds the test classes dir to
the list of source dirs, then creates the jar.
Start here, and there are links to other pages (especially the submenu
pages).
http://maven.apache.org/maven-1.x/using/customising.html
-Original Message-
From: Morgan Fletcher [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 20, 2008 4:05 PM
To: users@maven.apache.org
Subject: How to include junit tests in a generated jar, using maven 1.1?
I have a maven 1.1 project. I need to create a new goal which will
generate the jar including junit test classes. I am not quite sure how
to do it. Can I get a hint?
Thanks,
Morgan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]