Re: JUnit and Maven - compiling helper classes

2007-12-03 Thread jsweeney67
than the helper jar itself). > > When you are ready to run the project, go to your root pom and do a clean > install (this will make sure that your test jar is deployed to your local > repository) > > Cheers, > rOnn c. > > > > > > > > jsweeney

Re: JUnit and Maven - compiling helper classes

2007-11-14 Thread jsweeney67
So, if I understand correctly, the helper classes need to be in a jar. These classes now live in the same packages as the JUnit tests so should the jar exclude the actual test classes? I then presume that the "scope" tag tells Maven to only look for the new jar if tests are being run, correct?

JUnit and Maven - compiling helper classes

2007-11-14 Thread jsweeney67
I'm a Maven newbie trying to incorporate JUnit tests into the build. Some of our JUnit test classes make use of shared code in helper classes that live in the test packages. When I run these tests from Eclipse, the helper classes are found and compiled. However, when a cmd-line Maven build trie