+1

can you add a post-compile-generate-resources phase ? sometimes a resource
is generated (wsdl file) after the compile phase.
for example, the axistool plugin needs for the classes to be generated in
order to generated the wsdl files from them. and the plugin also try to add
it to the resources.

Raphaël


2006/2/17, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> +1
>
> Emmanuel
>
> John Casey a écrit :
> > Hi,
> >
> > I'd like to add pre/post phases for all of the major lifecycle phases
> > that don't already have it. I'm starting to see cases where a particular
> > packaging maps multiple mojos to the same lifecycle phase, and this
> > means we cannot control that phase through the old suppress-and-augment
> > approach anymore. I'll give you an example:
> >
> > Say I have two mojos bound to the package phase, for lack of a better
> > place. The first takes the tested code, and assembles the directory
> > structure for the archive. The second creates the archive. If I want to
> > replace the first step, I can add a 'skip' flag to it, but I *cannot*
> > bind a new mojo in its place; any new binding will be added after the
> > second step. Obviously, it makes no sense to prepare an archive
> > directory structure *after* the archive is created.
> >
> > This is not the first time we've discussed this sort of thing. We have
> > pre/post phases for setup and tear-down of integration tests, and should
> > probably have something similar for unit tests...not to mention,
> > install, deploy...
> >
> > It doesn't seem like a good idea to continue addressing this problem an
> > issue at a time in successive Maven releases. Why not make a reasonable
> > concession to these use cases, and add pre/post phases to each major
> > lifecycle phase (those which are themselves pre/post phases are not what
> > I consider major).
> >
> > I'd like to get this into 2.0.3, since it affects some work I'm doing
> > for a client.
> >
> > What do you all think?
> >
> > -john
> >
> > ---------------------------------------------------------------------
> > 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