When forking Junit add his own "old" version of Xerces to classpath that may 
fail the tests
-------------------------------------------------------------------------------------------

         Key: MPTEST-55
         URL: http://jira.codehaus.org/browse/MPTEST-55
     Project: maven-test-plugin
        Type: Bug
    Versions: 1.7    
 Environment: Maven 1.0.2 & Maven 1.1
Xerces 2.7.1
jdk 1.4.2_08 
 Reporter: Eric Hartmann
 Attachments: patch.txt

While using junit in fork mode with tests which need Xerces 2.7.1 (Xinclude), 
the tests fails. 
The cause of the failures is the presence of xerces-2.4.jar in classpath (which 
is a dependency of maven-test-plugin).
I attach a small patch with a new property "maven.junit.forkWithoutXerces" 
initialized to false (so the comportement of the plugin is the same). And when 
this property is set to yes xml-apis and xerces are not added to classpath even 
when fork is true.

-- 
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


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

Reply via email to