You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mickael Istria (JIRA)" <ji...@codehaus.org> on 2012/11/23 13:07:13 UTC

[jira] (MDEP-390) org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"

Mickael Istria created MDEP-390:
-----------------------------------

             Summary: org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"
                 Key: MDEP-390
                 URL: https://jira.codehaus.org/browse/MDEP-390
             Project: Maven 2.x Dependency Plugin
          Issue Type: Improvement
          Components: get
    Affects Versions: 2.5.1
            Reporter: Mickael Istria


As a user, I'd like to download a Maven artifact from command-line and get it unzipped.

In order to use the maven-depdenceny-plugin:goal as the ultimate command-line client to download a maven artifact (not necessarly in the context of a project), it would be useful to add to it an "unpack" parameter that would allow to unpack the just-downloaded stuff.

When in comes to automating download+unzip of an artifact in CI:
Currently, one has to add a Shell or Ant or Groovy script to unzip, after using "mvn org.apache.maven.plugins:maven-dependency-plugin:2.5.1:get -Dartifact=blah:blah:1.0 -DremoteRepositories=http://somewhere". It's not very convenient as this requires usage of another Ant or Groovy file, or usage of a platform-specific interpreter.

Also note that the unpack-mojo can't fit this use-case since it's not configurable via command-line (can't set artifactItems nor remoteRepositories).

--
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-390) org.apache.maven.plugins:maven-dependency-plugin:unpack to support remoteRepositories

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

Robert Scholte updated MDEP-390:
--------------------------------

    Component/s:     (was: get)
                 unpack
       Assignee:     (was: Robert Scholte)
        Summary: org.apache.maven.plugins:maven-dependency-plugin:unpack to support remoteRepositories  (was: org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack")
    
> org.apache.maven.plugins:maven-dependency-plugin:unpack to support remoteRepositories
> -------------------------------------------------------------------------------------
>
>                 Key: MDEP-390
>                 URL: https://jira.codehaus.org/browse/MDEP-390
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: unpack
>    Affects Versions: 2.5.1
>            Reporter: Mickael Istria
>
> As a user, I'd like to download a Maven artifact from command-line and get it unzipped.
> In order to use the maven-depdenceny-plugin:goal as the ultimate command-line client to download a maven artifact (not necessarly in the context of a project), it would be useful to add to it an "unpack" parameter that would allow to unpack the just-downloaded stuff.
> When in comes to automating download+unzip of an artifact in CI:
> Currently, one has to add a Shell or Ant or Groovy script to unzip, after using "mvn org.apache.maven.plugins:maven-dependency-plugin:2.5.1:get -Dartifact=blah:blah:1.0 -DremoteRepositories=http://somewhere". It's not very convenient as this requires usage of another Ant or Groovy file, or usage of a platform-specific interpreter.
> Also note that the unpack-mojo can't fit this use-case since it's not configurable via command-line (can't set artifactItems nor remoteRepositories).

--
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-390) org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"

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

Robert Scholte closed MDEP-390.
-------------------------------

    Resolution: Duplicate
      Assignee: Robert Scholte
    
> org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"
> ------------------------------------------------------------------------
>
>                 Key: MDEP-390
>                 URL: https://jira.codehaus.org/browse/MDEP-390
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: get
>    Affects Versions: 2.5.1
>            Reporter: Mickael Istria
>            Assignee: Robert Scholte
>
> As a user, I'd like to download a Maven artifact from command-line and get it unzipped.
> In order to use the maven-depdenceny-plugin:goal as the ultimate command-line client to download a maven artifact (not necessarly in the context of a project), it would be useful to add to it an "unpack" parameter that would allow to unpack the just-downloaded stuff.
> When in comes to automating download+unzip of an artifact in CI:
> Currently, one has to add a Shell or Ant or Groovy script to unzip, after using "mvn org.apache.maven.plugins:maven-dependency-plugin:2.5.1:get -Dartifact=blah:blah:1.0 -DremoteRepositories=http://somewhere". It's not very convenient as this requires usage of another Ant or Groovy file, or usage of a platform-specific interpreter.
> Also note that the unpack-mojo can't fit this use-case since it's not configurable via command-line (can't set artifactItems nor remoteRepositories).

--
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-390) org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"

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

Mickael Istria commented on MDEP-390:
-------------------------------------

Sorry for the dupe.
It seems to me that commit in r1397671 still does not allow to use alternative repositories from command-line when using unpack mojo.
Was this use-case described in an earlier bug, or should I create a new ticket to request this?
                
> org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"
> ------------------------------------------------------------------------
>
>                 Key: MDEP-390
>                 URL: https://jira.codehaus.org/browse/MDEP-390
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: get
>    Affects Versions: 2.5.1
>            Reporter: Mickael Istria
>            Assignee: Robert Scholte
>
> As a user, I'd like to download a Maven artifact from command-line and get it unzipped.
> In order to use the maven-depdenceny-plugin:goal as the ultimate command-line client to download a maven artifact (not necessarly in the context of a project), it would be useful to add to it an "unpack" parameter that would allow to unpack the just-downloaded stuff.
> When in comes to automating download+unzip of an artifact in CI:
> Currently, one has to add a Shell or Ant or Groovy script to unzip, after using "mvn org.apache.maven.plugins:maven-dependency-plugin:2.5.1:get -Dartifact=blah:blah:1.0 -DremoteRepositories=http://somewhere". It's not very convenient as this requires usage of another Ant or Groovy file, or usage of a platform-specific interpreter.
> Also note that the unpack-mojo can't fit this use-case since it's not configurable via command-line (can't set artifactItems nor remoteRepositories).

--
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-390) org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"

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

Robert Scholte reopened MDEP-390:
---------------------------------


I'll reopen this issue and adjust the title.

Looks like a new feature, see [Issues for unpack|https://jira.codehaus.org/browse/MDEP/component/12672#selectedTab=com.atlassian.jira.plugin.system.project%3Acomponent-issues-panel]
The {{remoteRepositories}}-option is a follow-up of MDEP-381 and should be equivalent to [dependency:get remoteRepositories|http://maven.apache.org/plugins/maven-dependency-plugin/get-mojo.html#remoteRepositories]

                
> org.apache.maven.plugins:maven-dependency-plugin:get to support "unpack"
> ------------------------------------------------------------------------
>
>                 Key: MDEP-390
>                 URL: https://jira.codehaus.org/browse/MDEP-390
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Improvement
>          Components: get
>    Affects Versions: 2.5.1
>            Reporter: Mickael Istria
>            Assignee: Robert Scholte
>
> As a user, I'd like to download a Maven artifact from command-line and get it unzipped.
> In order to use the maven-depdenceny-plugin:goal as the ultimate command-line client to download a maven artifact (not necessarly in the context of a project), it would be useful to add to it an "unpack" parameter that would allow to unpack the just-downloaded stuff.
> When in comes to automating download+unzip of an artifact in CI:
> Currently, one has to add a Shell or Ant or Groovy script to unzip, after using "mvn org.apache.maven.plugins:maven-dependency-plugin:2.5.1:get -Dartifact=blah:blah:1.0 -DremoteRepositories=http://somewhere". It's not very convenient as this requires usage of another Ant or Groovy file, or usage of a platform-specific interpreter.
> Also note that the unpack-mojo can't fit this use-case since it's not configurable via command-line (can't set artifactItems nor remoteRepositories).

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