RE: Surefire 2.4.1 classpath order

2008-07-02 Thread M. Dahm
Hi, I think I had the same problem (the wrong resource was loaded). may solution was to add an explicit version to the SureFire-Plugin configuration: ... 2.4.3 ... See http://www.nabble.com/%22mvn-test%22-uses-wrong-resources-to18219384.html http://www.nabble.com/%22mvn-test%22-uses-wrong-reso

Re: "mvn test" uses wrong resources

2008-07-02 Thread M. Dahm
Thanks for the link, that may be the same problem. The solution I found was to configure the SureFire-Plugin with an explicit version: 2.4.3 and it worked! Still a bit puzzled Markus -- View this message in context: http://www.nabble.com/%22mvn-test%22-uses-wrong-resources-tp18219384p182

"mvn test" uses wrong resources

2008-07-01 Thread M. Dahm
Hi, I really don't know what is happening here: There is a file META-INF/persistence.xml as well in src/test/resources as in src/main/resources But when I execute "mvn test" in the UBI-ALS-NG/UBI-ALS-NG-datamodel folder the wrong persistence.xml is loaded, i.e. the one in src/main/resources.