Hello! I think the feature you're referring to is the exclusion in the test suite of the base test classes found in the src/test/java directory. Using the Maven 2 surefire plugin, you can do this by declaring the following in the configuration:
... <excludes> <exclude>**/Abstract*Test.java</exclude> </excludes> ... Hope this helps. Nap On 1/6/06, Jason Dillon <[EMAIL PROTECTED]> wrote: > > Hi, I'm trying to figure out how to add an additional directory of > sources for inclusion when running surefire tests. Basically I have > generated some base tests classes, which need to be accessible from > classes under src/test/java (an should not be accessible from src/ > main/java). > > This was easy enough to do in Maven1, by appending to > maven.test.compile.src.set, but I can't find anything similar w/Maven2. > > Note, those classes, just need to get picked up and compiled, they > don't need to be scanned for inclusion in the testsuite (though that > would be nice too), but this was not possible with Maven1's test > plugin, so I generated all abstract helper classes, which concrete > classes extend to enable them in the suite. > > Any idea on how to make this work? > > Thanks, > > --jason > This email and any attachment(s) thereto, are intended for the use of > the addressee(s) named herein and may contain legally privileged and or > confidential information under applicable law. If you are not the > intended recipient of this e-mail, you are hereby notified any > dissemination, distribution or copying of this email, and any > attachment(s) > thereto, is strictly prohibited. If you have received this communication > in error, please notify the sender at 415-281-2200 or via return e-mail at > [EMAIL PROTECTED] and permanently delete the original copy and > any copy of any e-mail, and any printout thereof. Thank you for your > cooperation. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >