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

ProjectBuilder.build(List<File> projects...) should resolve parency between specified projects

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Core
    • None

    Description

      In Eclipse m2e, we're using ProjectBuilder.build(List<File> projects...).
      If we specify a list of projects that contain a parent pom and another pom referencing it as parent, and parent.relativePath is not set and doesn't refernece the parent file, then the result of the method would only contain the proper parent, but not the module (that would report an error because of parent not fount).
      Instead, it would be more convenient that ProjectBuilder tries to find the parent inside the given set of files too and would allow to resolve both parent and child simultaneously, just like if the relativePath were properly set.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mickael.istria Mickael Istria
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: