On Fri, Apr 13, 2012 at 1:02 PM, Wayne Fay <[email protected]> wrote: >> security-related annotations. I'd rather override the parent with my >> config, not the union I'm getting now. If all else fails I'll create a new >> module that doesn't inherit from our standard parent. > > You may want to specify combine.self="override" in that case... > http://www.sonatype.com/people/2011/01/maven-how-to-merging-plugin-configuration-in-complex-projects/
Ooo, I forgot about that. Its a useful thing to have in your toolbox. In this case because the checkstyle plugin versions are different its possible combining sections may not be the cleanest or most obvious to future readers of the pom file what is happening. YMMV. As per the blog post, you may need multiple combines to get the desired result. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
