You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Tran (JIRA)" <ji...@codehaus.org> on 2014/02/09 06:50:57 UTC

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

Dan Tran created MNG-5580:
-----------------------------

             Summary: 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.1.1, 3.1.0, 3.0.5
            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





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