I experienced the same problem with Maven 2.0.4 and Surefire 2.3 and 2.4.  I
solved the problem by reverting the Surefire plugin version back to 2.2.

I believe the latest version of Maven 2.0.8 and Surefire 2.3 and 2.4 do not
have this problem.

Ken


On 1/29/08, Andrew Seales <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I recently updated maven using mvn -U <command> and since yesterday
> projects which have properties files of the same name in
> src/test/resources and src/main/resources now no longer have the version
> in src/test/resources taking precedence over the ones in
> src/main/resources when running mvn test(for example database properties
> files).
>
> Is this an intentional change or is there a bug in a recent plugin
> version?
>
> Thank you,
> --
> Andrew Seales
>
> EDINA                   tel: +44 (0) 131 650 3022
> Edinburgh University    fax: +44 (0) 131 650 3308
> Causewayside House      url: http://edina.ac.uk
> 160 Causewayside        email: [EMAIL PROTECTED]
> Edinburgh EH9 1PR
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to