You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dan tran <da...@gmail.com> on 2005/11/23 18:49:53 UTC

Re: [m2] dependencies of a plugin

define this in your mojo

    /**
     * @parameter expression="${plugin.artifacts}"
     * @required
     */
    private List pluginArtifacts;

and then use that list to iterate.




On 11/23/05, Patrick O'shea <po...@epo.org> wrote:
>
> Hi,
>
> Is it possible to get the dependencies of a plugin that i have in my
> project.
> I can get a reference to the plugin using
> mavenProject.getDependencyArtifacts();
> but how do i get access all the plugins dependencies ?
>
> thanks,
> Patrick
>
>