[
http://jira.codehaus.org/browse/SUREFIRE-193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brett Porter updated SUREFIRE-193:
----------------------------------
Affects Version/s: 2.0 (2.2 plugin)
> Test-resources not on top of classpath while running tests
> ----------------------------------------------------------
>
> Key: SUREFIRE-193
> URL: http://jira.codehaus.org/browse/SUREFIRE-193
> Project: Maven Surefire
> Issue Type: Bug
> Affects Versions: 2.0 (2.2 plugin)
> Reporter: Jan Palmquist
> Assigned To: Brett Porter
>
> Fix of bug [MSUREFIRE-74] seem to have introduced a classpath error not
> loading target/test-classes before target/classes on classpath.
> test-classes need to be on classpath before classes in order for
> test/resources to have precedence over main/resources.
> Any resources having the same name (eg configuration files) now seem to be
> loaded from main/resources instead of test/resources.
> Debug output from build:
> ...
> [DEBUG] maven-surefire-plugin: resolved to version 2.2-SNAPSHOT from
> repository central
> [DEBUG] maven-surefire-plugin: resolved to version 2.2-20060507.223157-4 from
> repository central
> ...
> [DEBUG] C:\myproj\target\classes
> [DEBUG] C:\myproj\target\test-classes
> [DEBUG] C:\Documents and
> Settings\jan\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG] C:\Documents and
> Settings\jan\.m2\repository\relaxngDatatype\relaxngDatatype\20020414\relaxngDatatype-20020414.jar
> aso...
--
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