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

Split purge-local-repository into manual and transitive

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • purge-local-repository
    • None

    Description

      There doesn't seem to be a good way to resolve/purge/re-resolve from the local repository in a reliable way that works with both Maven 2 and 3. So to simplify the code for this goal, it could be split into a manual mode goal which doesn't required dependency resolution, and a transitive mode which uses the plugin configuration for the initial dependency resolution.

      The manual mode simply deletes a set of directories from the local repository.
      The automated mode first resolves to the project dependencies to get the full information about them, then purges a filtered list from the local repository, then optionally re-resolves any dependencies that were purged.

      Attachments

        Activity

          People

            pgier Paul Gier
            pgier Paul Gier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: