Maven
  1. Maven
  2. MNG-5153

ModelMerger omits relativ path

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.0.4
    • Component/s: General
    • Labels:
      None
    • Complexity:
      Intermediate
    • Testcase included:
      yes
    • Number of attachments :
      1

      Description

      ModelMerger omits relativ path when source is not dominat, because of fiel Parent#relativePath will be initialized with "../pom.xml" on instanciation.

      new ModelMerger().merge(target, source, false, null); // merge with sourceDominant = false

      Attached test case.

        Activity

        Benjamin Bentmann made changes -
        Field Original Value New Value
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Benjamin Bentmann [ bentmann ]
        Resolution Not A Bug [ 6 ]
        Bernd Vogt made changes -
        Resolution Not A Bug [ 6 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Benjamin Bentmann made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Fix Version/s 3.0.4 [ 17215 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Benjamin Bentmann
            Reporter:
            Bernd Vogt
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: