- In the excluded element of the build section of the POM, list the plugin you do not want to run.
- Set the phase in the module to none.
- Set a value in the configuration of the plugin in the module to be excluded like this: TRUE.
- Do not specify the plugin in the module.
In a multimodule project, if you have a plugin bound to a phase in the parent, it will be bound to the same phase in the module. What strategy could you employ to prevent the plugin from executing in the module?
June 25, 2021June 25, 2021
0 Comment