Eric Redmond wrote:
> testResources files get copied to the testOutputDirectory. Using surefire,
> the testOutputDirecotry files should take precedence.

Actually, no. In Maven 2.0.7 and below, the main output directory takes
precedence. In Maven 2.0.8-SNAPSHOT, this has been fixed.

Compare the getTestClasspathElements method in:

http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.7/maven-project/src/main/java/org/apache/maven/project/MavenProject.java
http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-project/src/main/java/org/apache/maven/project/MavenProject.java

Max.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to