On Sat, 30 Jul 2016 18:55:31 +0200, Karl Heinz Marbaise
<[email protected]> wrote:
The basic startpoint for this was a discussions about build pipelines
which I had which gave me the trigger to think about the life cycle and
asked myself: Is it possible to run only parts of the life cycle ? And
yes it's possible.... performance was not in my mind but of course it is
a point (and yes if all plugins behave correctly it would not be
neccessary at all)...
The basic question is: Does it make sense to separate the life cycle in
build pipelines? At moment I would say No...but may be others have
different opinions.....
On the other hand it would make things possible like to check first the
compilability of modules (and give very fast feedback to devs) and
afterwards run the tests...(within a second step of the pipeline)...
I'm not sure in the end if it is something usefull ? Or may be I don't
have right use case for it?
Yes also I'm aware that this would cause many headaches on the user
site if they get failures by using (if we would make such feature
available for users):
mvn install..deploy
For me it's clear why this does not work, but for the user this is a
different story...
Kind regards
Karl Heinz
Hi Karl Heinz,
I would say that the beauty of a lifecycle is that you can safely assume
that everything upfront has been executed. (it's like starting your life
at 21 and asking for your first bikes color... you're missing that
information) I would expect that we could do more on the plugin-side to
predict the requirement of executing it.
I would hope there are more elegant ways to solve your issues. e.g. I
still like your scm-extension idea which detects the changed files and
only executes those projects + "-am -amd".
thanks,
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]