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

[regression] Interpolation does not use properties from dominant settings profile if other profile defines same property

    XMLWordPrintableJSON

Details

    Description

      For two or more profiles in the {{settings.xml}

      <profiles>
        <profile>
          <id>settings-a</id>
          <properties>
            <settingsProperty>a</settingsProperty>
          </properties>
        </profile>
        <profile>
          <id>settings-b</id>
          <properties>
            <settingsProperty>b</settingsProperty>
          </properties>
        </profile>
      </profiles>
      

      the expression ${settingsProperty} will resolve to "a" although the later profile is dominant (noticeable at the POM property (not expression!) settingsProperty being "b" in the effective POM).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: