Hi Emmanuel,

I'm not sure we're talking about the same thing. The project.xml for my
plugin has a dependency on a zip (using <dependency>). This is used by
my plugin maven.xml to perform some action when building the plugin.

However, my understanding is that the project.xml is used both for
building the plugin and also when users are using the plugin. Thus, I
believe that the fact that I have a dependency on this zip will trigger
an automatic download of this zip in the user's maven repository. This
is what I'd like to avoid as this zip should only be used when building
the plugin and not when using it.

I can of course hardwire the location of this zip without using the
<dependency> mechanism. I was just wondering if this use case was
supported by the <dependency> mechanism.

Thanks
-Vincent

> -----Original Message-----
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: 19 March 2003 17:30
> To: Maven Developers List
> Subject: Rep:How to specify a plugin build time dependency only?
> 
> Hi Vincent,
> 
> You can write a preGoal for plugin build and use addPath tag.
> 
> Emmanuel
> 
> -----Message d'origine-----
> De: "Vincent Massol" <[EMAIL PROTECTED]>
> A: <[EMAIL PROTECTED]>
> Date: 19/03/03
> Objet: How to specify a plugin build time dependency only?
> 
> Hi,
> 
> In the Maven Cactus plugin I would like to specify a dependency on a
zip
> file. However, that zip file will be used only for building the cactus
> plugin (the plugin itself will unzip it and extract some files that it
> will repackage inside the Maven plugin). However, I do not want this
zip
> file to be downloaded by users of the Cactus Maven plugin.
> 
> How can I achieve this?
> 
> Thanks
> -Vincent
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> _____________________________________________________________________
> Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de
France
> 
> _____________________________________________________________________
> GRAND JEU SMS : Pour gagner un NOKIA 7650, envoyez le mot IF au 61321
> (prix d'un SMS + 0.35 euro). Un SMS vous dira si vous avez gagn�.
> R�glement : http://www.ifrance.com/_reloc/sign.sms
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]



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

Reply via email to