Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1
-
None
-
Patch
Description
This patch includes a simple change to the PurgeLocalRepositoryMojo class so that when the resolutionFuzziness is set to 'groupId,' the exclusions are treated by groupId. This is because if I have two dependencies, such as 'org.slf4j:slf4j-api' and 'org.slf4j:slf4j-log4j' and I only list one of them in my exclusions and set the fuzziness to groupId, the entire group will still be deleted. It seemed more natural to me that if the fuzziness is at the groupId level, that the exclusions should be based on which groupIds have been excluded.