Uploaded image for project: 'Maven Ant Tasks (RETIRED)'
  1. Maven Ant Tasks (RETIRED)
  2. MANTTASKS-230

Exclude Transitive Dependencies in Dependencies Task

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.3
    • None
    • dependencies task
    • None
    • Patch

    Description

      We have use cases where we'd like to retrieve specific dependencies without their transitive dependencies, yet we'd like to use Maven's dependencyManagement feature to resolve the dependency versions. It would be very useful if the dependencies task had an option to exclude transitive dependencies - much like the many of the Maven plugins support (e.g. dependency:copy-dependencies, assembly, etc.).

      I've attached a patch that adds an excludeTransitive flag to the dependencies tasks.

      Attachments

        1. excludeTransitive.diff
          4 kB
          Mike Gilbode

        Activity

          People

            Unassigned Unassigned
            gilbode Mike Gilbode
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: