apache / apache/maven

[MNG-7026] Ability to only build direct dependants

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

Description

**[Chadi](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=chadiem)** opened **[MNG-7026](https://issues.apache.org/jira/browse/MNG-7026?redirect=false)** and commented

We are an organization with a large reactor. When we update a project X, we would like to have the possibility to compile the artifacts that directly depend on X, without having to recompile everything.

The fix itself is trivial and consists of traversing in non-recursive mode. I can prepare a PR if you are OK with the request.

Its activation could be done using a flag such as --amdd, --also-make-direct-dependents, or maybe --also-make-dependents=direct

What do you think?

---

**Affects:** 3.6.3

1 votes, 2 watchers

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.