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

Profiles from parent POM are injected multiple times if parent is part of reactor build

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.9, 2.1.0-M1
    • 2.0.11, 2.1.0
    • Profiles
    • None

    Description

      The test project provided for MNG-4022 depends on a bug in the project builder to trigger to actual Xpp3Dom merging issue. When the parent POM is part of the reactor, it will be added to the project cache and its model already includes active profiles. When the child is build next it retrieves the previously created parent model from the cache to assemble the lineage and injects the active profiles again. This causes discrepancies in the effective model if profile injection has additive effects on the model.

      Attachments

        Issue Links

        Activity

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

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment