On 11/18/06, mraible <[EMAIL PROTECTED]> wrote:
The easiest way to do this seems to be to put the class in my "source" tree, but then I have to add JUnit as a "compile" dependency and JUnit will end up in any WARs that are created. Seems simple enough, but the extra JAR in the WAR seems ugly.
What Tom said. Put JUnit in compile scope, but mark it optional so it will not be included in transitive dependency resolution. (... and won't show up in the .war file.) You can see an example in the Struts 1 Core module: http://svn.apache.org/repos/asf/struts/struts1/trunk/core/pom.xml -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
