Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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.