apache / apache/maven

[MNG-6569] ProjectBuilder.build(List<File> projects...) should resolve parency between specified projects

Open
#8,677 0 comments 0 reactions 0 assignees View on GitHub
enhancement priority:major
Dominant language
Java
Stars
5.3k
Forks
3.1k
Avg merge
20h 42m
Merged PRs (30d)
297

Description

**[Mickael Istria](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=mickael.istria)** opened **[MNG-6569](https://issues.apache.org/jira/browse/MNG-6569?redirect=false)** and commented

In Eclipse m2e, we're using ProjectBuilder.build(List\ 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.

---
No further details from [MNG-6569](https://issues.apache.org/jira/browse/MNG-6569?redirect=false)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.