Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.