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 Searls <[EMAIL PROTECTED]> wrote:
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 -- <dependencies> <dependency> -- ref A -- </dependency> <dependency> -- ref B -- </dependency> </dependencies> </plugin> : : --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]