[
https://issues.jboss.org/browse/SHRINKRES-11?page=com.atlassian.jira.plug...
]
Andrew Rubinger resolved SHRINKRES-11.
--------------------------------------
Resolution: Done
New API has "as()" and "asSingle()", and this is coupled with the
option to "resolve().withTransitivity()" or
"resolve().withoutTransitivity()".
MavenDependencyResolver.resolveAs is misleading
-----------------------------------------------
Key: SHRINKRES-11
URL:
https://issues.jboss.org/browse/SHRINKRES-11
Project: ShrinkWrap Resolvers
Issue Type: Task
Reporter: Samuel Santos
Assignee: Andrew Rubinger
Fix For: 2.0.0-alpha-2
The method name {{resolveAs}} is misleading as it does not imply any dependencies.
We should refactor it into two distinct methods:
{code}
<T extends Archive<T>> Collection<T>
MavenDependencyResolver.resolveWithDependenciesAs(T type); // return the Maven artifact
and its dependencies
<T extends Archive<T>> T MavenDependencyResolver.resolveAs(T type); // return
the artifact without any dependencies
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira