You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Magne Rasmussen (JIRA)" <ji...@codehaus.org> on 2005/09/15 23:11:06 UTC

[jira] Created: (MNG-898) Wrong classpath order when running tests

Wrong classpath order when running tests
----------------------------------------

         Key: MNG-898
         URL: http://jira.codehaus.org/browse/MNG-898
     Project: Maven 2
        Type: Bug
  Components: maven-surefire-plugin  
    Versions: 2.0-alpha-3    
 Reporter: Magne Rasmussen
     Fix For: 2.0-beta-1


When running tests, the surefire plugin puts the ${project.build.outputDirectory} before the ${project.build.testOutputDirectory} in the classpath. This prevents overriding classes/resources in tests, and breaks maven 1.1 compatibility.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-898) Wrong classpath order when running tests

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-898?page=all ]
     
Brett Porter closed MNG-898:
----------------------------

     Assign To: Brett Porter
    Resolution: Fixed

applied, thanks

> Wrong classpath order when running tests
> ----------------------------------------
>
>          Key: MNG-898
>          URL: http://jira.codehaus.org/browse/MNG-898
>      Project: Maven 2
>         Type: Bug
>   Components: maven-surefire-plugin
>     Versions: 2.0-alpha-3
>     Reporter: Magne Rasmussen
>     Assignee: Brett Porter
>      Fix For: 2.0-beta-1
>  Attachments: MNG-898-maven-surefire-plugin.patch
>
>
> When running tests, the surefire plugin puts the ${project.build.outputDirectory} before the ${project.build.testOutputDirectory} in the classpath. This prevents overriding classes/resources in tests, and breaks maven 1.1 compatibility.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MNG-898) Wrong classpath order when running tests

Posted by "Magne Rasmussen (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-898?page=all ]

Magne Rasmussen updated MNG-898:
--------------------------------

    Attachment: MNG-898-maven-surefire-plugin.patch

The attached patch reverses the order of the ${project.build.outputDirectory} and ${project.build.testOutputDirectory}.

> Wrong classpath order when running tests
> ----------------------------------------
>
>          Key: MNG-898
>          URL: http://jira.codehaus.org/browse/MNG-898
>      Project: Maven 2
>         Type: Bug
>   Components: maven-surefire-plugin
>     Versions: 2.0-alpha-3
>     Reporter: Magne Rasmussen
>      Fix For: 2.0-beta-1
>  Attachments: MNG-898-maven-surefire-plugin.patch
>
>
> When running tests, the surefire plugin puts the ${project.build.outputDirectory} before the ${project.build.testOutputDirectory} in the classpath. This prevents overriding classes/resources in tests, and breaks maven 1.1 compatibility.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org