You have dependencies defined in your pom, but artifacts are not created
until each dependency is resolved.    Your mojo needs to require this.

In your mojo, specify  @requiresDependencyResolution compile


Ruel Loehr
JBoss QA
 

-----Original Message-----
From: Sachin Patel [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, March 08, 2006 11:42 AM
To: Maven Users List
Subject: getDependencyArtifacts returning null

Could someone explain why in my mojo project.getDependencies()  
returns back the correct list of dependencies defined in my pom, but  
project.getDependencyArtifacts() returns null?  How can I fix this?



- sachin




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