Re: Proposoal: MNG-2521 Multi Mojo Configuration

2007-07-03 Thread Mark Hobson
On 03/07/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: I don't think multiple annotations of the same type are possible, i.e. @Goal(...) @Goal(...) class MyMojo { } does not work. At least with Eclipse ;-) Well I never, good point :) From JLS 9.7: "It is a compile-time error if a declaration

Re: Proposoal: MNG-2521 Multi Mojo Configuration

2007-07-03 Thread Jochen Kuhnle
On 2007-07-03 11:40:06 +0200, "Mark Hobson" <[EMAIL PROTECTED]> said: On 03/07/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: Hi, Example for a CompilerMojo @Goals( @Goal(goal = "compile", phase = "compile", requiresDependencyResolution = "compile"), @Goal(goal = "testCompi

Re: Proposoal: MNG-2521 Multi Mojo Configuration

2007-07-03 Thread Mark Hobson
On 03/07/07, Jochen Kuhnle <[EMAIL PROTECTED]> wrote: Hi, Eric Redmond told me to write up the stuff I posted about MNG-2521 as a proposal, so here's the first one: Many Mojos (e.g. the compiler) execute in different phases of the build lifecycle using different "configurations". With the curre

Proposoal: MNG-2521 Multi Mojo Configuration

2007-07-03 Thread Jochen Kuhnle
Hi, Eric Redmond told me to write up the stuff I posted about MNG-2521 as a proposal, so here's the first one: Many Mojos (e.g. the compiler) execute in different phases of the build lifecycle using different "configurations". With the current JavaDoc and MNG-2521 annotations, a Mojo cannot