Maven 2 & 3
  1. Maven 2 & 3
  2. MNG-5276

CLI property doesn't override profile property

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Incomplete
    • Affects Version/s: 3.0.4
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      n/a
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Number of attachments :
      1

      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>
      

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Trevor Baker
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: