Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: perform
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

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

      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" )} ), '/' ) );
          }
      

        Issue Links

          Activity

          Hide
          nicolas de loof added a comment -

          MRELEASE-261 introduces a regression for hierarchical projects

          Show
          nicolas de loof added a comment - MRELEASE-261 introduces a regression for hierarchical projects
          Hide
          nicolas de loof added a comment -

          Committed at rev 933531.

          Show
          nicolas de loof added a comment - Committed at rev 933531.

            People

            • Assignee:
              nicolas de loof
              Reporter:
              nicolas de loof
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: