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