How to Invoke different goals of 1 plugin

2010-03-18 Thread izak.wessels
Hi, We would like to invoke different goals on 1 plugin. From reading the documentation, it seems that the best way to achieve this is to setup a profile and specify the same plugin but with a different goal. Here is the 1st time that the plugin is defined in the pom.xml. Take note of the

Re: How to Invoke different goals of 1 plugin

2010-03-18 Thread izak.wessels
stephenconnolly wrote: give each execution a different id and if you don;t want something inherited by child projects, set inheritedfalse Yup, we tried that. Example : build plugins plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-pmd-plugin/artifactId

Re: How to Invoke different goals of 1 plugin

2010-03-18 Thread izak.wessels
/executions /plugin /plugins /build On 18 March 2010 11:59, izak.wessels izak.wess...@gmail.com wrote: stephenconnolly wrote: give each execution a different id and if you don;t want something inherited by child projects, set inheritedfalse Yup, we tried that. Example