Changing order of locations on classpath to be leaded by surefire-plugin

Posted by lisak on Stack Overflow See other posts from Stack Overflow or by lisak
Published on 2011-01-04T11:15:29Z Indexed on 2011/01/04 17:54 UTC
Read the original article Hit count: 137

Filed under:
|
|

Hey folks,

does anybody know how to change it ?

I mean from

target/test-classes ... target/classes .... maven dependencies

to

target/test-classes ... maven dependencies .... target/classes 

It relates to this surefire-plugin feature request

It's because surefire-plugin cannot exclude resources from /target/classes ... it can only modify resources via <testResources> element that modifies /target/test-classes

© Stack Overflow or respective owner

Related posts about java

Related posts about maven-3