[
https://issues.jboss.org/browse/SHRINKWRAP-265?page=com.atlassian.jira.pl...
]
Samuel Santos commented on SHRINKWRAP-265:
------------------------------------------
Hi Andrew, I was waiting/hoping to have more feedback on this discussion:
http://community.jboss.org/thread/164679.
But if we are all aligned on this, I'm ready to start working on these issues.
MavenDependencyResolver.resolveAs is misleading
-----------------------------------------------
Key: SHRINKWRAP-265
URL:
https://issues.jboss.org/browse/SHRINKWRAP-265
Project: ShrinkWrap
Issue Type: Task
Components: ext-resolver
Affects Versions: 1.0.0-alpha-12
Reporter: Samuel Santos
Assignee: Samuel Santos
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.
For more information on JIRA, see:
http://www.atlassian.com/software/jira