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

Alexander Kudrevatykh edited comment on MDEP-369 at 10/15/12 9:20 AM:
----------------------------------------------------------------------

problem actually was in mingw-escaping of arguments
in maven 2 we have code
{code}QUOTED_ARGS=""
while [ "$1" != "" ] ; do

  QUOTED_ARGS="$QUOTED_ARGS \"$1\""
  shift

done{code}
but in maven 3 it code deleted, and arguments go to java unescaped

                
      was (Author: kudrevatykh):
    problem actually was in mingw-escaping of arguments
in maven 2 we have code
[code]QUOTED_ARGS=""
while [ "$1" != "" ] ; do

  QUOTED_ARGS="$QUOTED_ARGS \"$1\""
  shift

done[/code]
but in maven 3 it code deleted, and arguments go to java unescaped

                  
> 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
>         Attachments: out2.txt, out.txt
>
>
> 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