Uploaded image for project: 'Maven Release Plugin'
  1. Maven Release Plugin
  2. MRELEASE-546

regression introduced in MRELEASE-261

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • perform
    • None

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

      Attachments

        Issue Links

          Activity

            People

              ndeloof nicolas de loof
              ndeloof nicolas de loof
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: