Re: How to get path to artifact for a dependency in a plugin

2006-11-13 Thread pjungwir
Hi Joachim, Some methods on MavenProject are deliberately limited to what you see in the pom, and others contain computed values. getDependencies() and getDependencyArtifacts() are the former type. Probably you want getArtifacts(). That will give you a Set of Artifact objects which should have

Re: How to get path to artifact for a dependency in a plugin

2006-11-06 Thread Christoph Schönfeld
you have to declare your mojo class as @requiresDependencyResolution. Best regards, Christoph - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to get path to artifact for a dependency in a plugin

2006-11-06 Thread Wayne Fay
Joachim, you originally sent this email at: Date: Nov 4, 2006 5:42 PM Subject: How to get path to artifact for a dependency in a plugin And then again 13hrs later: Date: Nov 5, 2006 6:45 AM Subject: How to get path to artifact for a dependency in a plugin Please *do not* send emails multiple

How to get path to artifact for a dependency in a plugin

2006-11-05 Thread Joachim Van der Auwera
I am writing a plugin where I need access to the jar file for a dependency. I have tried looping the dependencies to find this (from MavenProject.getDependencies()), but the dependencies always seem to have null as their getSystemPath() value. I have also tried checking the artifacts, but

How to get path to artifact for a dependency in a plugin

2006-11-05 Thread Joachim Van der Auwera
I am writing a plugin where I need access to the jar file for a dependency. I have tried looping the dependencies to find this (from MavenProject.getDependencies()), but the dependencies always seem to have null as their getSystemPath() value. I have also tried checking the artifacts, but