> -----Original Message-----
> From: Dion Gillard [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 23, 2004 5:08 AM
> To: Maven Users List
> Subject: Re: Post plugin:download action
>
>
> Can't you just put it in the pluginl.jelly outside of a goal? And next
> time maven runs it will be executed.
Nope. Doesn't get executed unless you execute a goal/preGoal/postGoal from
that plugin.
>
> On Thu, 22 Jul 2004 14:22:44 +0100, Charles Daniels
> <[EMAIL PROTECTED]> wrote:
> > Hi All,
> >
> > Is there any built-in mechanism for performing tasks after downloading a
> > plugin (or at least after the plugin is expanded to the cache
> directory)?
> > What I would like to do is allow my plugin to do things
> immediately after
> > someone downloads it.
> >
> > For example, I have developed a plugin that defines additional
> templates for
> > use with the standard genapp plugin. When someone downloads my
> plugin, I
> > want my plugin to perform some "initialization". In this
> particular case, I
> > want my plugin to "initialize" itself by copying its template files to
> > ${user.home}/.maven/template (after clearing out old copies of
> its template
> > files), which is a standard location that the genapp plugin searches for
> > templates.
> >
> > Is there any way to do this, or is this an RFE?
> >
> > Of course, within my plugin I could add a postGoal for
> plugin:download to do
> > this, but that won't help the first time someone downloads my plugin.
> >
> > Cheers,
> > Chuck
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
> --
> http://www.multitask.com.au/people/dion/
>
> ---------------------------------------------------------------------
> 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]