I'm working on the multi module project. I want to run my plugin after build for one of the modules. This mojo should be only run directly from CLI and can not be attached to the phase as on some environments we dont want to run this goal.
What is the best aproach to configure my plugin? Should it be configured within parent or should i configure it within module?
If I configure it within both parent and module will module configuration overwrite parent configuration?
If I configure it only within parent will I be able to run it from within module folder?
At the moment I have it configured only in my-module and i run it like this from parent folder
mvn -pl my-module groupId:artifactId:myGoal
It looks like i have to use fully qualified name. I guess this is because parent doesnt know anything about this plugin.