You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Alexander Kudrevatykh (JIRA)" <ji...@codehaus.org> on 2012/08/21 14:08:21 UTC

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Alexander Kudrevatykh created MDEP-369:
------------------------------------------

             Summary: 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.5, 2.4
         Environment: maven3.0.5 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Alexander Kudrevatykh (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Alexander Kudrevatykh (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MDEP-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311501#comment-311501 ] 

Alexander Kudrevatykh edited comment on MDEP-369 at 10/15/12 8:47 AM:
----------------------------------------------------------------------

command line is
mvn -X org.apache.maven.plugins:maven-dependency-plugin:2.5:get -DremoteRepositories=c::::http://akudrevatykh:7081/nexus/content/groups/dbclear-all -Dartifact=org.supercsv:supercsv:1.5.2
                
      was (Author: kudrevatykh):
    command line is
org.apache.maven.plugins:maven-dependency-plugin:2.5:get -DremoteRepositories=c::::http://akudrevatykh:7081/nexus/content/groups/dbclear-all -Dartifact=org.supercsv:supercsv:1.5.2
                  
> 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Alexander Kudrevatykh (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MDEP-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Kudrevatykh updated MDEP-369:
---------------------------------------

    Attachment: out2.txt
                out.txt

command line is
org.apache.maven.plugins:maven-dependency-plugin:2.5:get -DremoteRepositories=c::::http://akudrevatykh:7081/nexus/content/groups/dbclear-all -Dartifact=org.supercsv:supercsv:1.5.2
                
> 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MDEP-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte updated MDEP-369:
--------------------------------

    Environment: 
maven3.0.4
windows7
jdk1.7.0_01

  was:maven3.0.5 windows7 jdk1.7.0_01

    
> 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Alexander Kudrevatykh (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MDEP-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306779#comment-306779 ] 

Alexander Kudrevatykh commented on MDEP-369:
--------------------------------------------

maven 3.0.4 not 3.0.5
                
> 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.5 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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Alexander Kudrevatykh (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MDEP-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=311507#comment-311507 ] 

Alexander Kudrevatykh commented on MDEP-369:
--------------------------------------------

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

        

[jira] (MDEP-369) fails :get using remoteRepositories and maven3

Posted by "Robert Scholte (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MDEP-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Scholte closed MDEP-369.
-------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte
    
> 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
>            Assignee: Robert Scholte
>         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