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

RFE: Allow exclusion of user-defined scopes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Auto Closed
    • 2.0-alpha-4
    • None
    • analyze
    • None

    Description

      Related to MDEP-146 [1], this is a RFE (request for enhancement) to add a parameter to dependency:analyze to accept a list of scopes to ignore. This feature would be used to support use cases where you wish to analyze a project's compile and test dependencies to ensure only the minimum necessary dependencies are declared but ignore runtime and provided dependencies. The current ignoreNonCompile parameter prevents test dependencies from being analyzed which can cause a developer to miss test dependencies that should/not be declared. By making this parameter accept a list of scopes, this feature would have the flexibility to support other use cases as well.

      [1] http://jira.codehaus.org/browse/MDEP-146

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              marekk marekk
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: