apache / apache/maven-dependency-plugin
[MDEP-648] list-repositories should point to the file that repository is specified in
- Dominant language
- Java
- Stars
- 175
- Forks
- 196
- Avg merge
- 19h 30m
- Merged PRs (30d)
- 5
Description
**[Evgeny Bovykin](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=missingdays)** opened **[MDEP-648](https://issues.apache.org/jira/browse/MDEP-648?redirect=false)** and commented
When I run mvn dependency:list-repositories I'd like to see in which file each repository is specified.
My use case: I'd like to change all repositories from using http to using https for security reasons. When repository is specified in my pom.xml it's pretty easy to find and fix. But if it's specified in some plugin I'm using I have to go on full adventure trying to find it.
It would be much easier if list-repositories just printed "Repository [http://...](http://.../) at plugin maven-some-plugin" or "Repository [http://...](http://.../) at some/pom.xml"
---
**Affects:** 3.1.1
**Issue Links:**
- [MSHARED-843](https://issues.apache.org/jira/browse/MSHARED-843) Provide artifacts in CollectorResult when collectDependencies
(_**"depends upon"**_)
**Remote Links:**
- [GitHub Pull Request #50
](https://github.com/apache/maven-dependency-plugin/pull/50)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Maven dependency:list-repositories goal and inspect how repositories from pom.xml and plugins are discovered. Compare the requested output with the existing command behavior; done means each repository identifies the file or plugin where it was specified, with tests covering both sources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100