Warning - m2 programming noobie here.
I'm trying to write a mojo that will execute when maven runs anytime the
plugin is referenced, without adding the executions.
In other words, I want the pom to be:
plugin
groupIdorg.example.maven/groupId
Hi, I got into this as well a few weeks ago. The answer is that you have to
have a parent pom where you declare the plugin and it's executions. Inside
that you have two choices:
1. Declare the plugin (and executions) as per normal. Then when executing
any derived poms, the pluglin will be
Maybe this could be helpful:
http://www.nabble.com/maven-plugin-execution-phase%3A-post-site--tf2513362.html#a7014966
Kovalen