maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (SUREFIRE-184) [PATCH] make the basedir system property optional
Date Sat, 25 Dec 2010 08:13:58 GMT

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

Kristian Rosenvold updated SUREFIRE-184:
----------------------------------------

    Component/s: Maven Surefire Plugin

> [PATCH] make the basedir system property optional
> -------------------------------------------------
>
>                 Key: SUREFIRE-184
>                 URL: http://jira.codehaus.org/browse/SUREFIRE-184
>             Project: Maven Surefire
>          Issue Type: Improvement
>          Components: Maven Surefire Plugin
>         Environment: tested on Win2K with cygwin and JDK1.5, but this is indifferent.
>            Reporter: Antoine Levy-Lambert
>             Fix For: Backlog
>
>         Attachments: patch.txt
>
>
> I wanted to run the ant testcases using the maven-surefire-plugin (I actually built all
the ant jars using maven).
> The problem is that the plugin sets a system property basedir that ant cannot override.
Since the BuildFileTest s are heavily dependent upon this property that ant normally sets
to be the directory of the build file, most tests fail ...
> Here a patch adding the possibility not to set the basedir by setting a configuration
attribute omitbasedir to true. 
> The pom.xml of maven-surefile-plugin was also missing a dependency to surefire-api (or
at least I needed to add this to build properly).
> Regards,
> Antoine

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

        

Mime
View raw message