Description
This is the root cause for https://bugs.eclipse.org/bugs/show_bug.cgi?id=548652 and was found while analyzing this m2e bug.
Using Maven 3.6.1,
If I have 2 files: 1 parent pom and 1 child pom (referencing parent).
I invoke `ProjectBuilder.build(child)` and the resulting MavenProject gives me a correct value for `MavenProject.getParentFile()`.
I invoke `ProjectBuilder.build(List.of(parent, child), ....)` and invoking `MavenProject.getParentFile()` on the child MavenProject returns `null` (which `child.getParent().getFile()` returns the right value.
Attachments
Issue Links
- links to