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 2021/01/23 18:18:00 UTC

[jira] [Updated] (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 updated MSHARED-627:
-----------------------------------------
    Labels: close-pending  (was: )

> 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
>            Assignee: 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.3.4#803005)