Skip to content

Conversation

@cstamas
Copy link
Member

@cstamas cstamas commented Dec 4, 2022

Adds Maven feature that is able to explain why an artifact is present in local repository.

Usable for diagnosing resolution issues.

In local repository, for each artifact it records .tracking folder, containing farthest artifact that got to this artifact, and the list of graph nodes that lead to it.

Note: this is based on by @grgrzybek proposal and reuses some code he provided. See apache/maven-resolver#182

Forward-port of: #900, code is100% same (sans junit 5), please review there.


https://issues.apache.org/jira/browse/MNG-7619

Adds Maven feature that is able to explain why an artifact is present in local repository.

Usable for diagnosing resolution issues.

In local repository, for each artifact it records `.tracking` folder, containing farthest artifact that got to this artifact, and the list of graph nodes that lead to it.

Note: this is based on by @grgrzybek proposal and reuses some code he provided. See apache/maven-resolver#182

Forward-port of: apache#900

---

https://issues.apache.org/jira/browse/MNG-7619
@cstamas cstamas self-assigned this Dec 4, 2022
@cstamas cstamas marked this pull request as ready for review December 4, 2022 17:25
@cstamas cstamas added this to the 4.0.0-alpha-3 milestone Dec 4, 2022
@cstamas cstamas merged commit 6773c05 into apache:master Dec 5, 2022
@jira-importer
Copy link

Resolve #8833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants