You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sylwester Lachiewicz (Jira)" <ji...@apache.org> on 2023/04/01 14:23:00 UTC
[jira] [Closed] (MSHARED-627) Enhance the ArtifactResolver with a method to resolve versions of an Artifact
[ https://issues.apache.org/jira/browse/MSHARED-627?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylwester Lachiewicz closed MSHARED-627.
----------------------------------------
Resolution: Won't Fix
> Enhance the ArtifactResolver with a method to resolve versions of an Artifact
> -----------------------------------------------------------------------------
>
> Key: MSHARED-627
> URL: https://issues.apache.org/jira/browse/MSHARED-627
> Project: Maven Shared Components
> Issue Type: New Feature
> Components: maven-artifact-transfer
> Affects Versions: maven-artifact-transfer-0.9.0
> Reporter: Karl Heinz Marbaise
> Priority: Minor
> Labels: close-pending
>
> The maven-artifact-transfer should be enhanced having a method to resolve versions of artifacts like this:
> {code:java}
> public interface ArtifactResolver {
> ..
> List<String> resolveArtifactVersions( ProjectBuildingRequest buildingRequest, Artifact mavenArtifact )
> throws ArtifactResolverException;
> ..
> }
> {code}
> I have a [working implementation|https://svn.apache.org/r1784464] but I'm not sure if it should return a list of versions as plain String ?
> This will help to use maven-artifact-transfer also in other plugin for example in versions-maven-plugin.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)