maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Tran (JIRA)" <j...@codehaus.org>
Subject [jira] (MNG-5580) mvn 3.x - unable to resolve snapshot artifact via ArtifactResolver using override local repository
Date Mon, 07 Jul 2014 18:38:10 GMT

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

Dan Tran commented on MNG-5580:
-------------------------------

good news, this issue is not seen starting with apache-maven-3.1.0. 

> 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
>          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)

Mime
View raw message