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

Disable by default and deprecate useReleaseProfile parameter

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 3.0.0-M1
    • Component/s: perform
    • Labels:
      None
    • Flags:
      Patch

      Description

      There are some indications [1, 2] that the release-profile profile will disappear from Maven's super POM somewhen in the future. There was also an attempt back in 2009 to remove it but it was re-added again [3].
      In order to support the removal of this profile, I suggest to disable its default activation in the maven-release-plugin. Additionally, I suggest to deprecate the useReleaseProfile parameter in the PerformReleaseMojo.

      [1] https://github.com/apache/maven/blob/master/maven-model-builder/src/main/resources/org/apache/maven/model/pom-4.0.0.xml#L100
      [2] http://mail-archives.apache.org/mod_mbox/maven-dev/201411.mbox/%3c20141128002840.32FCB4340A7F@dd34514.kasserver.com%3e
      [3] https://github.com/apache/maven/commit/3870ab0e6021eb17d04883f97fe144d2db96e745

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                michael-o Michael Osipov
                Reporter:
                sferstl Stefan Ferstl
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: