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

Download a dependency without pom

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.1
    • get
    • None

    Description

      I want a new goal like

      "mvn dependency:get -DgroupId=... -DartifactId=... -Dversion=... -Dclassifier=..."

      This goal is very helpful to have local dependencies managed by maven, especially for us in such an imperfect world that not every project has adopted maven.
      By running the above command, the corresponding artifact would be downloaded into local maven repository.

      groupId – required
      artifactId – required
      version – optional, download the latest release if omitted
      classifier – optional, this should be artifact specific, some may require a classifier, some may not.

      The idea is from the discussion in the maven users list, thread http://www.nabble.com/-M2--Manually-download-artifact--td19949345.html
      Thanks Wendy for the idea

      Attachments

        Activity

          People

            brianf Brian E Fox
            creyle creyle
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: