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

Robert Scholte commented on MDEP-369:
-------------------------------------

Don't you get something like
{noformat}
org.apache.maven.plugin.MojoFailureException: Invalid syntax for repository: 
::::http://repo.maven.apache.org/maven2
        at 
org.apache.maven.plugin.dependency.GetMojo.parseRepository(GetMojo.java:300)
{noformat}

You have to specify an id, the default value of the layout is "{{default}}"
                
> fails :get using remoteRepositories and maven3
> ----------------------------------------------
>
>                 Key: MDEP-369
>                 URL: https://jira.codehaus.org/browse/MDEP-369
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>          Components: get
>    Affects Versions: 2.4, 2.5
>         Environment: maven3.0.4
> windows7
> jdk1.7.0_01
>            Reporter: Alexander Kudrevatykh
>
> When I type mvn org.apache.maven.plugins:maven-dependency-plugin:2.5:get 
> -DremoteRepositories=::::url ... plugin fails to download artifact from 
> remote repository.
> When using repoId and repoUrl properties or maven 2.2.1 all works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to