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

Update purge-local-repository to work in Maven 3

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.5.1
    • 2.6
    • purge-local-repository
    • None

    Description

      The purge-local-repository goal currently uses an empty set of remote repositories when initially resolving the dependency set. This doesn't work in Maven 3 because the dependency resolution in Maven 3 is more strict about checking that an artifact has to be available in the current set of remote repositories, otherwise the resolution fails.

          List<ArtifactRepository> remoteRepositories = Collections.emptyList();
      

      This should be fixed to work with both Maven 2 and 3 if possible.

      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: