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 Sun, 09 Feb 2014 06:19:57 GMT

     [ https://jira.codehaus.org/browse/MNG-5580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Tran updated MNG-5580:
--------------------------

    Description: 
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



  was:
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




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

Mime
View raw message