You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jason van Zyl (JIRA)" <ji...@codehaus.org> on 2014/06/15 20:50:10 UTC

[jira] (MNG-5580) mvn 3.x - unable to resolve snapshot artifact via ArtifactResolver using override local repository

    [ https://jira.codehaus.org/browse/MNG-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=348070#comment-348070 ] 

Jason van Zyl commented on MNG-5580:
------------------------------------

Can you please make a test or an example problem so I can reproduce the problem.

> mvn 3.x - unable to resolve snapshot artifact via ArtifactResolver using override local repository
> --------------------------------------------------------------------------------------------------
>
>                 Key: MNG-5580
>                 URL: https://jira.codehaus.org/browse/MNG-5580
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0.5, 3.1.0, 3.1.1
>            Reporter: Dan Tran
>
> I can use ArtifactResolver to download a given snapshot maven coordinate. This works with private local repository ( ie I dont want to use the default one) using mvn2 but fails with mvn3.x
> This type of invocation also under maven-dependency-plugin
> Similar invocation using technique at https://github.com/ljnelson/maven-artifacts/blob/master/src/main/java/com/edugility/maven/Artifacts.java also see the same result
> The main motivation is for my plugin to download a huge artifact using a given artifact under 'target' directory using maven 2/3.x without using aether
> a demo is also at  https://svn.codehaus.org/mojo/trunk/sandbox/download-maven-plugin



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)