You might need to write code in your unit tests for copying your test
resources from src/test/testdata to target/test-classes as I don't think you
could set this in the plugin config.
The other alternative is to move your test resources to src/test/resources
so that it automatically gets copied in target/test-classes but you
mentioned changing the structure is not an option for you..

HTH,
Deng

On Thu, May 8, 2008 at 2:24 PM, krishnan.1000 <[EMAIL PROTECTED]>
wrote:

>
> Hi,
>
> I have a project that uses a set of sample data for unittesting on the
> project. Since there are many other developer on the project, this would
> help them simulate the same working environment.
>
> The test folders are in the project root- src/test/testdata/abc.doc and so
> on...  This has been a standard practise in my company.
>
> However, when I run mvn test, I see that this folder is not copied under
> the
> target/test-classes folder.  Is there a way to make sure that this folder
> is
> copied. Keeping the same folder structure.
>
> Thanks,
>
> Karthik Krishnan
> --
> View this message in context:
> http://www.nabble.com/mvn-add-test-folders-tp17120968p17120968.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to