]
Samuel Santos commented on SHRINKRES-185:
-----------------------------------------
Yes, '?' solves it. I've already rejected the issue. Thanks!
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.