[
https://issues.jboss.org/browse/SHRINKWRAP-261?page=com.atlassian.jira.pl...
]
Samuel Santos commented on SHRINKWRAP-261:
------------------------------------------
Usage:
{code}
Maven.dependency("org.jboss.shrinkwrap.test:test-deps-c:1.0.0")
Maven.dependencies("org.jboss.shrinkwrap.test:test-deps-c:1.0.0",
"org.jboss.shrinkwrap.test:test-deps-g:1.0.0")
Maven.withPom("test-pom.xml").dependency("org.jboss.shrinkwrap.test:test-deps-c:1.0.0")
Maven.withPom("test-pom.xml").dependencies("org.jboss.shrinkwrap.test:test-deps-c:1.0.0",
"org.jboss.shrinkwrap.test:test-deps-g:1.0.0")
{code}
Shorthand for including maven artifacts
---------------------------------------
Key: SHRINKWRAP-261
URL:
https://issues.jboss.org/browse/SHRINKWRAP-261
Project: ShrinkWrap
Issue Type: Feature Request
Components: ext-resolver
Affects Versions: 1.0.0-alpha-12
Reporter: Nicklas Karlsson
Assignee: Samuel Santos
Priority: Minor
Fix For: resolver-1.1.0-alpha-1
It would be handy to have a shortcut for including maven artifacts, something along the
lines of
MavenArtifact.resolve(Coordinate.of("joda-time", "joda-time",
"1.6")).as(GenericArchive.class) or
MavenArtifact.resolve("joda-time:joda-time:1.6").as(GenericArchive.class) or
Maven.artifact("joda-time:joda-time:1.6")
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira