Surefire is giving classloader preferences to main sources before test sources
------------------------------------------------------------------------------

         Key: MSUREFIRE-101
         URL: http://jira.codehaus.org/browse/MSUREFIRE-101
     Project: Maven 2.x Surefire Plugin
        Type: Bug

 Environment: Running on trunk as of May 1
    Reporter: Patrick Lightbody
    Priority: Blocker
     Fix For: 2.2


Giving the classloader preferences to the main files before the test files is 
opposite of what surefire used to do and different from all other test 
environments (Ant, IDEA, etc). This is a problem for the XWork build. To 
reproduce:

cvs -d :pserver:[EMAIL PROTECTED]:/cvs login
cvs -d :pserver:[EMAIL PROTECTED]:/cvs co xwork
cd xwork
mvn test

If you're using the releases surefire plugin, they will pass just fine.

If you're using the latest from trunk, they will fail. This is due to the fact 
that the tests are picking up src/java/xwork-default.xml instead of 
src/test/xwork-default.xml. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to