Surefire interferes with ClassLoader.getResource() and Class.getResourceAsStream() calls. -----------------------------------------------------------------------------------------
Key: MNG-682 URL: http://jira.codehaus.org/browse/MNG-682 Project: Maven 2 Type: Bug Components: maven-plugins Versions: 2.0-beta-1 Environment: Using a 2.0-beta-1 clean build (svn checkout on 20050730-1345) on linux (and XP) . Reporter: Joakim Erdfelt Fix For: 2.0-beta-1 Attachments: needs-classloader.tar.gz When using the Class.getResourceAsStream() or ClassLoader.getResourceAsStream() method calls in your own project, the tests succeed outside of m2 (in eclipse, on junit command line, and ant build). But all tests fail when running under Surefire. A simple m2 project demonstrating this is attached. -- 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]