That is a lot of ceremony (as in boilerplate), but at least a viable
workaround for certain shortcomings in Maven. Thank your very much, this
shall be my last resourt approach the next time this situation comes up
and I have no more unused phases to escape to. :-)


Delany schrieb am 09.05.2021 00:58 (GMT +07:00):

> I don't have trouble with execution order since doing 2 things. One is
> implementing the sortpom maven plugin. The other is configuring all
> plugin executions in pluginManagement as early as possible, but with
> phase = none. Then children activate plugin executions by simply
> setting the phase. I even don't use the default resources plugin
> execution.
> 
> With a setup like this, if I had your profile interpolation issue, I'd
> try turn on the offending plugins in my top-level pom (since the
> plugin is then invoked every time, it becomes deterministic. But since
> the execution phase isn't set, it doesn't do anything. Then in the
> event the profile is activated, it doesn't change the fact of whether
> the plugin is invoked or not)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to