I have a Maven project that has 3 modules. These are built by the parent pom.xml
I now have a requirement that I need to run one plugin from inside one of the sub modules' pom.xml
files based on the profile selected.
How can I specify that this plugin should only run when a certain profile is used in build?