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