You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mickael Istria (JIRA)" <ji...@apache.org> on 2019/01/21 22:50:00 UTC
[jira] [Created] (MNG-6569) ProjectBuilder.build(List
projects...) should resolve parency between specified projects
Mickael Istria created MNG-6569:
-----------------------------------
Summary: ProjectBuilder.build(List<File> projects...) should resolve parency between specified projects
Key: MNG-6569
URL: https://issues.apache.org/jira/browse/MNG-6569
Project: Maven
Issue Type: Improvement
Components: core
Reporter: Mickael Istria
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)