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

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

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

              Dates

              • Created:
                Updated:
                Resolved: