[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-185) Add support for the canonical form "G:A:P"

Karel Piwko (JIRA) issues at jboss.org
Tue Jun 24 14:44:25 EDT 2014


    [ https://issues.jboss.org/browse/SHRINKRES-185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12979031#comment-12979031 ] 

Karel Piwko commented on SHRINKRES-185:
---------------------------------------

Samuel, would not  '?' syntax help here? Given version and packaging has no restriction, it is quite complicated to tell those two parts of coordinates apart.

https://github.com/shrinkwrap/resolver#resolution-of-artifacts-defined-in-pom-files

> Add support for the canonical form "G:A:P"
> ------------------------------------------
>
>                 Key: SHRINKRES-185
>                 URL: https://issues.jboss.org/browse/SHRINKRES-185
>             Project: ShrinkWrap Resolvers
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: api-maven
>    Affects Versions: 2.1.1
>            Reporter: Samuel Santos
>              Labels: resolver, shrinkwrap
>
> Currently, resolving a dependency with a specific packaging type, requires a version to be specified:
> {code:java}
> Maven.resolver().loadPomFromFile("pom.xml").resolve("G:A:ejb:V").withoutTransitivity().asSingle(JavaArchive.class);
> {code}
> The version should be optional and the canonical form "G:A\:P" should be valid/allowed.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the shrinkwrap-issues mailing list