Basically I need my plugin to run POST maven execution, not matter which phases were executed, but I learned to know that this is not possible and I must attach my plugin to a particular phase :-(.
But... I can do it by myself if I'll attach my plugin to every possible phase and extract the last phase to be executed from within the plugin, then by simple comparison to the current phase I will know to tell if this is really the last phase or not. If it's the last phase I will execute my plugin code.
Someone knows how I can extract this information?
Thanks, Shay