[ 
http://jira.codehaus.org/browse/MDEP-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=146311#action_146311
 ] 

Dan Fabulich commented on MDEP-178:
-----------------------------------

I added a transitive option.  -Dtransitive=false will do what you want.

You can always change the localRepository for Maven globally with 
-Dmaven.repo.local=/home/blah/myRepo.  (If you just want to put a jar in your 
target directory and not in any local repository at all, you probably want 
dependency:copy instead.)

> Create a goal to download single artifact transitively
> ------------------------------------------------------
>
>                 Key: MDEP-178
>                 URL: http://jira.codehaus.org/browse/MDEP-178
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: New Feature
>            Reporter: Dan Fabulich
>            Assignee: Dan Fabulich
>             Fix For: 2.1
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to