[ https://issues.apache.org/jira/browse/EMAIL-63?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472559 ]
Bindul Bhowmik commented on EMAIL-63: ------------------------------------- Here is my understanding and resolution of the problem: One of the referenced files in the test cases - EmailConfiguration.java is reading a file from the class loader - <pre> public static final String TEST_URL = EmailConfiguration.class .getResource("/images/asf_logo_wide.gif") .toExternalForm(); </pre> The file (asf_logo_wide.gif) resides in the src/test/images directory. Without specifying the testResources, maven is not copying the file to the target/test-classes directory, and hence all tests (except DefaultAuthenticatorTest - which does not cause that class to be loaded) are failing. The only way I could fix the issue is to add testResources. For the curious, my system configuration is Windows XP Professional. I have run the tests both under Sun Java 1.4.2_11 and 1.5.0_11 using Maven 2.0.2 (a bit behind the curve here). > Maven 2 pom.xml > --------------- > > Key: EMAIL-63 > URL: https://issues.apache.org/jira/browse/EMAIL-63 > Project: Commons Email > Issue Type: Improvement > Affects Versions: 1.1 > Reporter: Ben Speakmon > Fix For: 1.1 > > Attachments: pom.patch, pom.xml, pomv2.xml, pomv3.xml > > > Copied more or less directly from the one just checked in for pool; > appropriate substitution made for project info, contributors, dependencies, > and test cases. > One problem: dumbster-SNAPSHOT is not in any Maven 2 repository that I know > of and must be manually installed. Everything else seems to work fine. > Attaching file shortly... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]