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
Mark Hobson wrote:
http://maven.apache.org/developers/mojo-api-specification.html
Under requiresDependencyResolution, "If this annotation is present but
no scope is specified, the scope defaults to runtime."
What the Mojo API specification is meant to say is that the mere notation of
@requ
2008/7/22 Brian E. Fox <[EMAIL PROTECTED]>:
> The real default is whatever the last plugin requested. I'm sure of it
> because it hosed me trying to do the 2.0.8 release when a plugin changed
> the dependency resolution and broke later plugins. This is wrong and
> there's a jira for it: http://jira
>Under requiresDependencyResolution, "If this annotation is present but
>no scope is specified, the scope defaults to runtime."
>Anyone know what the real deal is?
The real default is whatever the last plugin requested. I'm sure of it
because it hosed me trying to do the 2.0.8 release when a plug
2007/12/31 Brian E. Fox <[EMAIL PROTECTED]>:
> Not specifying a phase is the same IIRC as not specifying
> @requiresDep
>
> When you do this, the results are indeterminate (you get whatever has
> already been resolved by previous plugins)
Just encountered this missing provided-scope artifact p
:37 PM
To: Maven Developers List
Subject: Re: Project.getArtifacts Does Not Return Provided Artifacts
Thanks Brian, specifying compile after @requiresDependencyResolution
works.
>From what I can tell, the behavior is:
@requiresDependencyResolution with unspecified phase
* MavenProject.getArtifa
ilto:[EMAIL PROTECTED]
> Sent: Monday, December 31, 2007 3:41 PM
> To: Maven Developers List
> Subject: Project.getArtifacts Does Not Return Provided Artifacts
>
> I'm using maven 2.0.7 client. I have a Mojo implementation with the
> @phase
> compiler and @requiresDependencyRe
facts Does Not Return Provided Artifacts
I'm using maven 2.0.7 client. I have a Mojo implementation with the
@phase
compiler and @requiresDependencyResolution parameters set. The
project.getArtifacts method does not return artifacts with the scope
'provided'. The method project.getDepe
I'm using maven 2.0.7 client. I have a Mojo implementation with the @phase
compiler and @requiresDependencyResolution parameters set. The
project.getArtifacts method does not return artifacts with the scope
'provided'. The method project.getDependencyArtifacts does return dependent
artifacts with t