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

ModelMerger omits relativ path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.3
    • 3.0.4
    • General
    • None

    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.

      Attachments

        1. model-merger-bug.zip
          4 kB
          Bernd Mathiske

        Activity

          People

            bentmann Benjamin Bentmann
            bernd Bernd Mathiske
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: