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

Profile interpolation broke their evaluation in case of duplicate IDs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.9.7
    • 3.9.8
    • Core
    • None

    Description

      To be clear: we talk about invalid POMs, as you cannot build using a POM that contains duplicate Profile ID (is caught and build failed by Maven itself). Sadly, POMs are being generated as well, with questionable qualities as it seems nothing validates them.

      The change for improvement MNG-8081 broke Maven Model Builder in a way, it cannot now properly build projects that have duplicated profile IDs. Again, these projects are anyway "just working by chance" (as some dependency POM is invalid), but 3.9.6 was building these projects just fine.

      The issue MNG-8141 is created to WARN end users about this.

      This issue should restore 3.9.7 breakage.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: