You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Patrick O'shea <po...@epo.org> on 2005/11/23 16:56:52 UTC

[m2] dependencies of a plugin

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 

Re: [m2] dependencies of a plugin

Posted by dan tran <da...@gmail.com>.
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
>
>