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

[regression] CLI properties can't override project properties during interpolation

    XMLWordPrintableJSON

Details

    Description

      For the POM snippet

      <properties>
        <testProperty>FAILED</testProperty>
        <interpolatedProperty>${testProperty}</interpolatedProperty>
      </properties>
      

      and the invocation

      mvn help:effective-pom -DtestProperty=PASSED
      

      the effective value for interpolatedProperty ends up being FAILED instead of PASSED as specified by the user.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: