Uploaded image for project: 'Maven Dependency Plugin'
  1. Maven Dependency Plugin
  2. MDEP-54

Exclude and Include specific dependencies based on Artifact id or group name

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-alpha-1
    • 2.0-alpha-2
    • None
    • None

    Description

      new plugin parameters excludeArtifactId, includeArtifactId, excludeGroupId, includeGroupId
      comma seperated lists
      first will implement exact matching
      laterz will implement regex matching

      I want too be able too include or exclude specific jars. Sometimes the dependent poms do not setup the scope well. For example I do not want too deploy maven jars!

      I recommend adding two different filters to match these dependencies.

      Attachments

        1. newFilters.patch
          92 kB
          Chris Love

        Activity

          People

            brianf Brian E Fox
            goldgriff Chris Love
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: