maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ruel Loehr" <ruel.lo...@jboss.com>
Subject RE: getDependencyArtifacts returning null
Date Wed, 08 Mar 2006 20:10:07 GMT
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:sppatel2@gmail.com] 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message