I am looking for a way to not have a plugin execute on install. More specifically, my scenario is as follows:
- I am using org.apache.cxf:cxf-codegen-plugin to generate source code.
- Every time I clean+install the source is generated
- I only want generation of source code to happen when I explicitly request it.
Any and all help would be greatly appreciated!
The best option would be to add the plugin declaration in a profile and to explicitly activate this profile:
And run the following when you want the code generation to happen: