regression introduced in MRELEASE-261
-------------------------------------

                 Key: MRELEASE-546
                 URL: http://jira.codehaus.org/browse/MRELEASE-546
             Project: Maven 2.x Release Plugin
          Issue Type: Bug
          Components: perform
    Affects Versions: 2.0
            Reporter: nicolas de loof


Using hierachical projet structure, when the parent project is not first one in 
the reactor, getCommonBasedir fails to detect the common basedir

{code}
public void 
testGetCommonBasedirOfRegularMultiModuleRootNotBeeingFirstInReactor()
        throws Exception
    {
        assertEquals( "/working/directory/flat-multi-module", 
ReleaseUtil.getCommonBasedir( Arrays.asList(
            new MavenProject[]{
                createProject( "/working/directory/flat-multi-module/core" ),
                createProject( "/working/directory/flat-multi-module" ),
                createProject( "/working/directory/flat-multi-module/webapp" )} 
), '/' ) );
    }
{code}

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

        

Reply via email to