You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Joerg Schaible (JIRA)" <ji...@codehaus.org> on 2005/11/15 08:34:06 UTC
[jira] Created: (MNG-1570) Testing from a parent POM fails, since current work directory is no longer the basedir of the subproject
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
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MNG-1570) Testing from a parent POM fails, since current work directory is no longer the basedir of the subproject
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org