Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: get
    • Labels:
      None
    • Number of attachments :
      0

      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

        Activity

        Hide
        Dan Tran added a comment -

        the latest snapshot has new goal dependency:get, please give it a try

        Show
        Dan Tran added a comment - the latest snapshot has new goal dependency:get, please give it a try
        Hide
        creyle added a comment -

        Aah, I just downloaded the latest code from trunk and I see the GetMojo class, cool!

        But I checked the snapshot repository and saw the latest 2.1-SNAPSHOT is dated 2008-08-07, while the GetMojo code was checked in on 2008-08-28, simply not in the latest snapshot, so could you or someone else update the latest snapshot in the people repo? Thanks.

        Show
        creyle added a comment - Aah, I just downloaded the latest code from trunk and I see the GetMojo class, cool! But I checked the snapshot repository and saw the latest 2.1-SNAPSHOT is dated 2008-08-07, while the GetMojo code was checked in on 2008-08-28, simply not in the latest snapshot, so could you or someone else update the latest snapshot in the people repo? Thanks.

          People

          • Assignee:
            brianfox brianfox
            Reporter:
            creyle
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: