apache / apache/maven-project-info-reports-plugin
[MPIR-477] Replace ArtifactMetadataSource by Resolver API
- Dominant language
- Java
- Stars
- 29
- Forks
- 41
- Avg merge
- 4h 17m
- Merged PRs (30d)
- 3
Description
**[Slawomir Jaranowski](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=slawekjaranowski)** opened **[MPIR-477](https://issues.apache.org/jira/browse/MPIR-477?redirect=false)** and commented
Deprecated `ArtifactMetadataSource` should not be used for resolving versions.
In class: `DependencyManagementRenderer`, we have:
```java
List versions = artifactMetadataSource.retrieveAvailableVersions(
artifact, buildingRequest.getLocalRepository(), buildingRequest.getRemoteRepositories());
```
should be replace by resolver Api
---
No further details from [MPIR-477](https://issues.apache.org/jira/browse/MPIR-477?redirect=false)
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the DependencyManagementRenderer class and inspect how it currently calls ArtifactMetadataSource.retrieveAvailableVersions. Read the available resolver API and its version-resolution usage before changing the integration. Done means version resolution no longer uses the deprecated source and the dependency-management report continues to produce available versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100