Why do you speak about "precedence"? Do you have many persistence.xml files?
When you just do "compiler:*testCompile", what do you have in your target
subdirs?* Do you see persistence.xml file?

If the resources seems to be present in those dirs, then also try using
forkMode=never to see if that could be a problem of classloading.

My 2 cents...
Cheers.

2008/11/4 lsacco <[EMAIL PROTECTED]>

>
> I've read the previous posts on this issue, but still see that a resource I
> am relying on (META-INF/persistence.xml) that exists in src/test/resources
> is not being used by the surefire plugin.  If I move this resource to
> src/main/resources it works fine.  I am using Maven 2.0.9.
>
> Any ideas why src/test/resources doesn't take precedence?
>
> TIA,
> Lou
> --
> View this message in context:
> http://www.nabble.com/Surefire-2.4.3-Classloading-issue-tp20330022p20330022.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]
>
>


-- 
Baptiste <Batmat> MATHUS - http://batmat.net
Sauvez un arbre,
Mangez un castor !

Reply via email to