I think the best practice would be to developp a new Mojo, wich can be
done with Ant or Java. This way you don't have to hook anything except
declare the plugin.

On 2/21/06, Szczepan Faber <[EMAIL PROTECTED]> wrote:
> So everytime I need to do something extra, that is not possible to define in
> plugin config, the best practice is to write an ant task and hook it to
> maven phase?
>
> 2006/2/20, Brian E. Fox <[EMAIL PROTECTED]>:
> >
> > This exploded archive is where the war plugin assembles the war before
> > zipping it up. It's just a normal product of the war creation. If you
> > really need it gone for some reason, use the ant plugin to delete the
> > folder in the package phase. (pom defined plugins run after the
> > lifecycle ones so calling in the package phase will still cause it to
> > run after war)
> >
> > -----Original Message-----
> > From: Szczepan Faber [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, February 19, 2006 6:38 PM
> > To: users@maven.apache.org
> > Subject: how to prevent from creating exploded archive?
> >
> > How to prevent from creating exploded archive in war:war goal (I want
> > only war to appear in target) ?
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>


--
Alexandre Poitras
Québec, Canada

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

Reply via email to