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

Default fuzziness level should be version instead of file

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6
    • purge-local-repository
    • None

    Description

      The default fuzziness property of the purge-local-repository goal, should be "version" instead of "file". Deleting only a single file from the local repository seems risky because if one jar in the remote repository has changed, it's likely that the pom, and possibly other artifacts have changed as well. Deleting only a single file from a GAV could leave the local repository in an unpredictable state which doesn't match the remote repository.

      Changing this property should have no impact on existing builds, because if the purge works for a single file, it should normally work to purge the whole version directory instead.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: