Under Maven v2.0.6, with Surefire plugin v2.3, the directory containing the .class files generated by the test-compile phase (${basedir}/target/test-classes/) is not included in java.class.path when I run "mvn test". (I got this info from the target/surefire-reports/TEST-<MyClass>.xml file for a failing test class.)
This is a problem for me because one of my tests expects to be able to find the test .class files in the classpath, but can't under Maven 2, and so is failing. Under both Maven 1.1-beta-3 and IntelliJ IDEA, the generated test class files directory is included in java.class.path, so my test is succeeding. Is there anything I can do to change this? Explicitly including <testClassesDirectory>target/test-classes</testClassesDirectory> in the surefire plugin's configuration seems to have no effect. Thanks, Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]