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

When selecting groupId fuzziness, exclude all artifacts based on groupId.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1
    • 2.2
    • purge-local-repository
    • 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.

      Attachments

        Activity

          People

            brianf Brian E Fox
            grevan Greg Vanore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: