Maybe try something like this:
 <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
          <unitTest>
            <includes>
              <include>**/*Test.java</include>
                   <include>**/*.dat</include>
            </includes>
          </unitTest>

-Mark
At 01:36 PM 7/17/2003 +0100, you wrote:
Hi,
I've written a number of unit tests for a project and
some of these tests require data files (*.dat) in order to
run. I'm having trouble getting Maven to put these .dat
files into target/test-classes/com/foo/bar as part
of the build process. Thus the tests are failing when
I run:
maven jar

Can anyone tell me the syntax to use in the <unitTest>
part of the pom so that **/*.dat are copies from src/test
to target/test-classses

Thanks,
ct




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




Reply via email to