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

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6
    • Component/s: purge-local-repository
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: