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

Create a goal to download single artifact transitively

    XMLWordPrintableJSON

Details

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

    Description

      I've always found it to be a hassle to test plugins that don't need to be wired up in POM files, e.g. the archetype, dependency, scm plugins. I find that to test them I have to create a dummy POM file with a <pluginRepositories> section, as described in our guide to testing staged releases.

      http://maven.apache.org/guides/development/guide-testing-releases.html

      I thought it would be cool to have a downloader goal that let you do this:

      mvn dependency:get
      -Dartifact=org.apache.maven.plugins:maven-scm-plugin:1.1
      -DrepoUrl=http://people.apache.org/~olamy/staging-repo

      That would retrieve the plugin into your local repository, so you could immediately start using it.

      mvn org.apache.maven.plugins:maven-scm-plugin:1.1:checkin -Dmessage=foo

      Attachments

        Activity

          People

            dfabulich Daniel Fabulich
            dfabulich Daniel Fabulich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: