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

CLI property doesn't override profile property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Incomplete
    • 3.0.4
    • None
    • None
    • n/a

    Description

      Run:

      mvn initialize help:effective-pom -Dmyprop=override

      on the attached pom.

      Expected:

        <properties>
          <myprop>override</myprop>
          <myprop2>override</myprop2>
        </properties>
      

      Actual:

        <properties>
          <myprop>profile-prop</myprop>
          <myprop2>override</myprop2>
        </properties>
      

      Attachments

        1. pom.xml
          1 kB
          Trevor Baker

        Activity

          People

            Unassigned Unassigned
            amoebaworks Trevor Baker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: