what's the stucture for plugins in a remote repository?

<groupId>/plugins/<artifactId>-version.jar

can you define which remote repository you wish to download a specific plugin from, or can the remote repositories only be set by setting the
maven.repo.remote property?


cheers
Nathan

Jason van Zyl wrote:

On Mon, 2003-09-29 at 20:12, Brett Porter wrote:

Brett,

Could you give me a quick rundown of how to download a plugin and how the mechanism works. I will look at the code for certain but I just want to push in a little bit of doco now with all the plugins separated.

maven plugin:download -DartifactId=maven-dbunit-plugin -DgroupId=maven -Dversion=1.1-SNAPSHOT

Downloads, installs to $MAVEN_HOME/plugins, deletes old versions in
$MAVEN_HOME_LOCAL/plugins


If you declare a plugin as a dependency will an install be attempted?


Yes, same as above but doesn't delete other versions. For this one, just a standard dependency element is needed with <type>plugin</type> given.


Awesome, thanks!


Cheers,
Brett


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to