Question: 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?

  1. In the excluded element of the build section of the POM, list the plugin you do not want to run.
  2. Set the phase in the module to none.
  3. Set a value in the configuration of the plugin in the module to be excluded like this: TRUE.
  4. Do not specify the plugin in the module.

Answer: The correct answer of the above question is Option C:Set a value in the configuration of the plugin in the module to be excluded like this: TRUE.