2008/7/22 Benjamin Bentmann <[EMAIL PROTECTED]>:
> What the Mojo API specification is meant to say is that the mere notation of
>
>  @requiresDependencyResolution
>
> is equivalent to the complete form
>
>  @requiresDependencyResolution runtime
>
> This is realized by the maven-plugin-tools-java [0] and can be verified by a
> simple test mojo whose plugin descriptor will contain
>
>  <requiresDependencyResolution>runtime</requiresDependencyResolution>
>
> after running the "generate-resources" phase.
>
> To summarize: There is a difference in omitting just the phase argument of
> the annotation and omitting the annotation completely.
>
> Hope that clarifies things a little.

Thanks, this is what I gathered too.  I thought Brian was saying that
omitting the scope from @rDR caused indeterminate behaviour, although
after rereading this thread I see that he's referring to the case
where @rDR is specified without a corresponding @phase annotation, not
simply without a scope attribute.  Sorry for the noise :)

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to