You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Andrew Seales <an...@ed.ac.uk> on 2008/01/29 11:49:54 UTC

Dependency Order, src/test/resources not overriding src/main/resources

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: andrew.seales@ed.ac.uk
Edinburgh EH9 1PR

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Dependency Order, src/test/resources not overriding src/main/resources

Posted by Wendy Smoak <ws...@gmail.com>.
On Jan 29, 2008 3:49 AM, Andrew Seales <an...@ed.ac.uk> wrote:

> 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?

What version of Maven are you using?  I thought this was fixed in
2.0.8... http://maven.apache.org/release-notes.html

-- 
Wendy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Dependency Order, src/test/resources not overriding src/main/resources

Posted by Ken Liu <ke...@gmail.com>.
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 <an...@ed.ac.uk> 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: andrew.seales@ed.ac.uk
> Edinburgh EH9 1PR
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>