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

Sneaky bug in DefaultReleaseManager.perform()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-8
    • 2.0-beta-9
    • None
    • None
    • n/a
    • Patch

    Description

      While browsing the code I saw this sneaky bug in DefaultReleaseManager (note that the clean parameter value is ignored):

          public void perform( ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List reactorProjects, boolean clean )
              throws ReleaseExecutionException, ReleaseFailureException
          {
              perform( releaseDescriptor, releaseEnvironment, reactorProjects, null, false );
          }
      

      This method is only used once within the release plugin and it that case the clean parameter value is then always 'false', so this is not yet an issue when using the plugin.

      Attachments

        1. MRELEASE-386-patch.diff
          0.9 kB
          Anders Hammar

        Activity

          People

            aheritier Arnaud Heritier
            afloom Anders Hammar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: