[shrinkwrap-issues] [JBoss JIRA] (SHRINKWRAP-265) MavenDependencyResolver.resolveAs is misleading

Karel Piwko (Updated) (JIRA) jira-events at lists.jboss.org
Mon Oct 24 04:50:45 EDT 2011


     [ https://issues.jboss.org/browse/SHRINKWRAP-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karel Piwko updated SHRINKWRAP-265:
-----------------------------------

      Fix Version/s: resolver-2.0.0-alpha-1
    Forum Reference: http://community.jboss.org/message/596405, http://community.jboss.org/message/596228  (was: http://community.jboss.org/message/596405, http://community.jboss.org/message/596228)

    
> 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
>             Fix For: resolver-2.0.0-alpha-1
>
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the shrinkwrap-issues mailing list