The documentation for the @requiresDependencyResolution descriptor element states that it only works for compile, runtime and test scopes, not for the process-resources phase.

http://maven.apache.org/maven2/developers/mojo-api-specification.html

Maybe the docs are outdated then.


Ørjan


Brett Porter wrote:
Yes, you should add @requiresDependencyResolution to your tags.

On 9/24/05, Orjan Austvold <[EMAIL PROTECTED]> wrote:

I noticed that the artifacts attribute of my plugin configured with

parameter expression="${project.artifacts}

did not get initialized with current project dependencies when the
plugin ran in the process-resource phase.

When run in the compile phase it got initalized with the expected result.

Is this an inteded behaviour?


Ørjan

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




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


--
Ørjan Austvold - Senior Software Architect
www.colibria.com - putting the presence into messaging

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

Reply via email to