You need to declare @requiresDependencyResolution <scope> in your mojo
annotation.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 06, 2008 7:45 AM
To: users@maven.apache.org
Subject: MavenProject.getDependencyArtifacts() returns null

Hi.
When running my plugin from a phase like 'package' (by using the
<execution> tag) then project.getDependencyArtifacts() returns the
dependencies artifacts.
But when I run the plugin standalone, that is in the format 'mvn
groupID:myplugin:version:goal' it returns null.
How can I overcome this. Have I got to initialize something?

Thanks for any answer ...

,
Daniel
'

---------------------------------------------------------------------
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]

Reply via email to