[ 
http://jira.codehaus.org/browse/SUREFIRE-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Brett Porter updated SUREFIRE-108:
----------------------------------

    Fix Version/s:     (was: 2.3)
                   2.4

> Depencencies get precedence over test sources in classpath
> ----------------------------------------------------------
>
>                 Key: SUREFIRE-108
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-108
>             Project: Maven Surefire
>          Issue Type: Bug
>    Affects Versions: 2.0 (2.2 plugin)
>            Reporter: Gilles Scokart
>             Fix For: 2.4
>
>
> Here is a concrete example :
> I write a plugin for cruisecontrol.  The cruise control jar contains a 
> log4J.properties.  I have placed a log4j.properties in my test ressources 
> directory (I alsoe tried to place it in the main ressource directory).
> When I run the test in eclipse, my log4j.property is used.  When I run it 
> from maven, it is the log4j.properties contained in cruisecontrol.jar that is 
> used.
> When I modify the cruisecontrol jar store in my repositry to remove its 
> log4j.properties, the log4j.properties of the test ressource directory is 
> used.
> I also made a test with a class instead of a property file.  I have 
> re-written a class defined in my dependency (same name, same package) in my 
> test source directory.  The result is the same.  In eclipse my class is used, 
> in maven, it is the class present in the dependency that is used.

-- 
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

        

Reply via email to