Kenny, On 7/6/05, Kenney Westerhof <[EMAIL PROTECTED]> wrote: > On Wed, 6 Jul 2005, Edwin Punzalan wrote: > > How did you invoke the plugin? > > Using m2 sablecc-plugin:sablecc ? > > You seem to have specified the plugin in the project pom that uses it; > if you want it to run automatically you have to add a > <phase>generate-sources</phase> tag near the executions element, and > specify the goal in <execution><goals>sablecc</goals</execution>.
The <phase>generate-sources</phase> element is not required in the project pom using the plugin because this is already indicated the phase using the @phase taglet in the plugin goal Mojo source code. The ability to specify an explicit phase in the project pom is useful for cases where a goal might need to be executed in any phase, especially when the original goal Mojo is not already bound to a specific phase. The example in the documentation is a timestamp goal. Kind Regards, John Fallows. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]