[ http://jira.codehaus.org/browse/MSUREFIRE-4?page=comments#action_70321 ] Brett Porter commented on MSUREFIRE-4: --------------------------------------
Brill, there are other issues with greater explanation that this - if I see it I'll link it here. It is how it is for a reason. > Testing from a parent POM fails, since current work directory is no longer > the basedir of the subproject > -------------------------------------------------------------------------------------------------------- > > Key: MSUREFIRE-4 > URL: http://jira.codehaus.org/browse/MSUREFIRE-4 > Project: Maven 2.x Surefire Plugin > Issue Type: Bug > Reporter: Joerg Schaible > Assigned To: 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