I'm sure that it's not recommened but you can achieve that using a few changes in your project.xml setup.

use:
<sourceModifications>
     <excludes>
       <exclude>**/Test*.java</exclude>
     </excludes>
</sourceModifications>
to prevent building ur test classes into your src.
then for ur unitTest declaration do something like:

   <unitTest>
     <includes>
       <include>**/Test*.java</include>
     </includes>
   </unitTest>

along with a unitTestSourceDirectory that matches ur sourceDirectory.
-Tim

Chad Woolley wrote:

Hello,

I want to implement maven on an existing project, which has the unit tests in the same directories as the classes they test.

Is this supported with maven? I read the test plugin docs, but I don't see any properties or any info there...

Thanks,
Chad


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





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



Reply via email to