Skip maven2 plugin by default

Posted by Octoberdan on Stack Overflow See other posts from Stack Overflow or by Octoberdan
Published on 2010-04-07T22:53:15Z Indexed on 2010/04/08 0:13 UTC
Read the original article Hit count: 246

Filed under:

Hello,

I am looking for a way to not have a plugin execute on install. More specifically, my scenario is as follows:

  1. I am using org.apache.cxf:cxf-codegen-plugin to generate source code.
  2. Every time I clean+install the source is generated
  3. I only want generation of source code to happen when I explicitly request it.

Any and all help would be greatly appreciated!

© Stack Overflow or respective owner

Related posts about maven-2