Can we also exclude some paths from test? For example, in my case, I want to
exclude "classes/META-INF/*.*" from my testing since I'm using
"test-classes/META-INF/*.*". Thanks,


davidkarlsen wrote:
> 
> fagfa wrote:
>> 
>> fagfa wrote:
>> 
>>>Hi,
>>>
>>>I'd like use different resource file (eg, persistence.xml for ejb3) for
>>>unit testing and the problem is that "maven-surefire-plugin" always
>>>include "target/classes" in the classpath and its sub dir "MATA-INF"
>>>contains my resource file, which overrides the same file in
>>>"target/test-classes", which is the one I'd like to use during unit
>>>testing. I could not find a way to skip this recource file copying during
>>>test phase. Any advice? Thanks,
> 
> 
> 
> See: http://jira.codehaus.org/browse/MSUREFIRE-153
> 
> 
> 
> -- 
> David J. M. Karlsen - +47 90 68 22 43
> http://www.davidkarlsen.com
> http://mp3.davidkarlsen.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/resource-file-overriding-excluding-for-unit-testing-tf2041898.html#a5635017
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to