On 4 Dec 2006, at 14:08, Richard van der Hoff wrote:
Brett Porter wrote:
Actually, before we jump into this, let's consider the use case at
hand. While easily solved by pre-package at this point, we may
find other needs.
To take these suggestions even further, perhaps the idea of a fixed
set of phases is too limiting.
That's an insight that can count!
An alternative would be to number phases, from (say) 0 to 1000,
with the current named phases as aliases for 100, 200, etc. Then
it's easy for plugins which need it to slip in an extra phase.
Now that's scary. I just got the shivers.
Perhaps the idea of a fixed build lifecycle is a bit too limiting,
itself? There are more problems with it than this (where do I link
object code from C++?). This is just a symptom … Our development team
has the same feeling with JSF, by the way … Lifecycles seemed like a
good idea … was a pattern that had popularity … tried it out, beat it
to dead … didn't cut it? The Maven 1 pre / post approach wasn't ideal
either, and was left behind for something better …
Consider that the declarative and open Ant "depends", where the tool
calculates the correct order in which to execute tasks, uhm, Mojo's,
is stable and works. I do have the impression that this approach can
be used with existing Mojo-based plugins with little change, and that
the gripes with this architecture can be solved (and I have some
ideas on how to merge it into the Maven philosophy).
Sounds like Maven 3, or at least 2 1/2. though … I suggest not
rocking the boat too hard at this time.
I've lost count of the number of times I've told people on #maven
that there is no way to ensure that a particular execution runs
between phases X and Y. Admittedly, there's a bug which means that
execution order isn't preserved within a phase, and fixing that
would ameliorate this.
Anyway, I'm fully expected to be shouted down, and told that this
will only lead to confusion; however, I think it's worth considering.
Cheers,
Richard
--
Richard van der Hoff <[EMAIL PROTECTED]>
Telephony Gateways Project Manager
Tel: +44 (0) 845 666 7778
http://www.mxtelecom.com
---------------------------------------------------------------------
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]