Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-11

MavenDependencyResolver.resolveAs is misleading

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0-alpha-2
    • None
    • None
    • None

      The method name resolveAs is misleading as it does not imply any dependencies.

      We should refactor it into two distinct methods:

      <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
      

              arubinge@redhat.com Andrew Rubinger (Inactive)
              silenius_jira Samuel Santos (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: