2 solutions I think :
1/ use the resources in the pom to locate your file in the test classpath
2/ use the basedir system properties to find the test file. I did not
use this solution but using maven 1 with multiproject I needed to add
${basedir}/myResources to don't have the same problem that's
The solution 2 using basedir system property works fine whith m2.
Thank you Nicolas.
J-Michel
-Message d'origine-
De : Nicolas Chalumeau [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 15 juin 2005 11:47
À : Maven Users List
Objet : Re: [m2] JUnit test using files, with multiple modules
2