IIUC the aggregator only works when calling a goal directly, not as part
of the lifecycle.
That's why release:prepare / release:perform works
I can't think of a plugin that is part of the lifecycle AND which act as
an aggregator.
thanks,
Robert
On Mon, 08 Jan 2018 14:25:36 +0100, Francois MAROT
<francois.ma...@gmail.com> wrote:
Thanks for your response Hervé,
I've made a sample plugin here:
https://github.com/fmarot/print-dummy-maven-plugin
When included in the "<build><plugins>" section of a parent pom of a
multimodule Maven project, the behavior is shown: when running 'mvn
validate', "dummy" is printed for for each and every child execution and
in
the parent.
As I set aggregator to "true" in my Mojo, I expected it to be executed
only
once.
I can provide a sample multimodule if needed.
Regards
--
Sent from: http://maven.40175.n5.nabble.com/Maven-Users-f40176.html
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org