Maven Dependency Plugin
  1. Maven Dependency Plugin
  2. MDEP-105

Make it possible to copy all dependencies (and their transitive ones) excluding a few (and their transitive ones)

    Details

    • Type: Wish Wish
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: copy
    • Labels:
      None
    • Number of attachments :
      0

      Description

      While it is currently possible to exclude particular artifacts from being copied, this happens after the transitive dependencies have been evaluated. This makes it impossible to exclude one artifacts along with all their transitive dependencies. A suggestion (don't know how feasible this is) would be to have two exclusion lists, one that gets applied before the transitive dependency is called and one after.

        Activity

        Hide
        Paul Donohue added a comment -

        I agree this would be a useful feature in the maven-dependency-plugin.

        However, until it gets implemented in the maven-dependency-plugin, the maven-assembly-plugin can be (ab)used to accomplish the desired behavior: http://stackoverflow.com/a/4891643/1476175

        Show
        Paul Donohue added a comment - I agree this would be a useful feature in the maven-dependency-plugin. However, until it gets implemented in the maven-dependency-plugin, the maven-assembly-plugin can be (ab)used to accomplish the desired behavior: http://stackoverflow.com/a/4891643/1476175

          People

          • Assignee:
            Unassigned
            Reporter:
            Stefano Mazzocchi
          • Votes:
            6 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

            • Created:
              Updated: