I have a project using the groovy maven plugin to do some scripting.

I can get access to my project, and its dependencies from a project
variable.
I can get access to the instance of the local repository by passing
${localRepository} in a property

What I want to do is, for a dependency, find where it is in the
localRepository (by using pathOf). However,
I need to make an Artifact (DefaultArtifact) from the Dependency, and I
can't see how to do this. If I just create one, I can't populate the right
ArtifactHandler values.

Is there an easy way to do this ?

Reply via email to