What API to access plugin's dependency artifacts?

2007-02-01 Thread Rebecca Searls
My PluginMojo needs to acquire the artifacts of all plugin specific defined dependencies. What API methods provide this access. Example, for MyNewPlugin the MyNewPluginMojo needs to retrieve ref A and ref B artifacts. build plugins plugin -- MyNewPlugin --

Re: What API to access plugin's dependency artifacts?

2007-02-01 Thread John Casey
I'd try a parameter with the default-value of ${plugin.artifacts} which returns a List of Artifact instances. If you need a Map of Artifacts, keyed by groupId:artifactId (output of ArtifactUtils.versionlessKey( artifact ) ), then you can use ${plugin.artifactMap} HTH, john On 2/1/07, Rebecca