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

[regression] Properties defined by active profiles are not used for POM interpolation

    XMLWordPrintableJSON

Details

    Description

      For the POM snippet

      <properties>
        <test>FAILED</test>
        <property>${test}</property>
      </properties>
      
      <profiles>
        <profile>
          <id>interpolation-profile</id>
          <properties>
            <test>PASSED</test>
          </properties>
        </profile>
      </profiles>
      

      and the activated profile "interpolation-profile" the effective value of ${property} will be FAILED Instead of PASSED.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: