Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5224

REGRESSION: Injected Settings in a Mojo are missing the profiles from settings.xml

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.3
    • 3.0.4
    • Settings
    • None

    Description

      If you have a Mojo with

      /**
       * @parameter expression="${settings}"
       * @required
       * @readonly
       */
      private Settings settings;
      

      In Maven 2.2.1, the Settings included all the profiles, in Maven 3.0.3 the profiles are all missing.

      This issue becomes critical, as most users using Maven Release Plugin will be storing their gpg.passphrase as a property in a profile in their settings.xml, and as of Maven Release Plugin 2.2.2 we serialize the injected Settings to a file with the result that most users will be unable to use Maven 3.0.3 with Maven Release Plugin 2.2.2

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            stephenc Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment