[ http://jira.codehaus.org/browse/MNG-1570?page=all ]
Brett Porter closed MNG-1570:
-----------------------------
Assign To: Brett Porter
Resolution: Won't Fix
Maven 1.x only did this when forking. Maven 2.x is not currently forking, so
relative paths are correctly relative to user.dir.
> Testing from a parent POM fails, since current work directory is no longer
> the basedir of the subproject
> --------------------------------------------------------------------------------------------------------
>
> Key: MNG-1570
> URL: http://jira.codehaus.org/browse/MNG-1570
> Project: Maven 2
> Type: Bug
> Components: maven-surefire-plugin
> Versions: 2.0
> Reporter: Joerg Schaible
> Assignee: Brett Porter
>
>
> When testing from the parent POM dir, all paths are relative to it. This
> causes major trouble in unit tests, that access the file system. All tests
> work if the test is started from the subproject directly. In M1 the current
> work directory was always ${basedir}. Might be related to MNG-1471.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]