maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MDEP-422) Support version ranges in get
Date Sat, 17 Dec 2016 15:48:58 GMT

    [ https://issues.apache.org/jira/browse/MDEP-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15757222#comment-15757222
] 

Guillaume Boué commented on MDEP-422:
-------------------------------------

Version ranges are now supported starting with version 3.0.0 of the plugin. This has been
solved by using the shared component {{maven-artifact-transfer}}, done with this version.

{noformat}
$ mvn org.apache.maven.plugins:maven-dependency-plugin:3.0.0:get -Dartifact=asm:asm-analysis:[3.2,3.4]
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:3.0.0:get (default-cli) @ standalone-pom ---
[INFO] Resolving asm:asm-analysis:jar:[3.2,3.4] with transitive dependencies
Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.3.1/asm-analysis-3.3.1.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.3.1/asm-analysis-3.3.1.pom
(419 B at 0.8 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.3.1/asm-tree-3.3.1.pom
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.3.1/asm-tree-3.3.1.pom (406
B at 8.3 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/asm/asm-tree/3.3.1/asm-tree-3.3.1.jar
Downloading: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.3.1/asm-analysis-3.3.1.jar
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-analysis/3.3.1/asm-analysis-3.3.1.jar
(18 KB at 182.9 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/asm/asm-tree/3.3.1/asm-tree-3.3.1.jar (22
KB at 84.7 KB/sec)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.900 s
[INFO] Finished at: 2016-12-17T16:44:41+01:00
[INFO] Final Memory: 16M/196M
[INFO] ------------------------------------------------------------------------
{noformat}


> Support version ranges in get
> -----------------------------
>
>                 Key: MDEP-422
>                 URL: https://issues.apache.org/jira/browse/MDEP-422
>             Project: Maven Dependency Plugin
>          Issue Type: New Feature
>          Components: get
>    Affects Versions: 2.8
>            Reporter: stanislav bashkirtsev
>
> {code}mvn org.apache.maven.plugins:maven-dependency-plugin:2.8:get -DgroupId=some.group.id
-DartifactId=some-artifact -Dversion="[8.2.0,8.2.9)" -Dpackaging=zip{code}*Expected Result*:
the latest artifact between 8.2.0 and 8.2.8 should be downloaded.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message