Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-dev] facade methods for execution plans

Thanks.

On Tue, Apr 26, 2011 at 8:40 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
> Use IMavenProjectFacade.getMojoExecutions to get MojoExecution instances
> corresponding to all occurrences of x-maven-plugin:somegoal in project
> execution plan. Then use IMaven.getMojoParameterValue to access
> individual mojo configuration parameters.
>
> --
> Regards,
> Igor
>
> On 11-04-26 04:53 PM, Benson Margulies wrote:
>>
>> Let's do the core use case.
>>
>> The job of my m2e plugin is to configure the x-eclipse-plugin to match
>> the x-maven-plugin:somegoal.
>>
>> So, I need the exact configuration of the x-maven-plugin. In 0.12, I
>> did this by searching the execution plan for an execution that
>> includes the particular goal of the particular plugin, and then snarf
>> out the<configuration/>  and examine it.
>>
>> I'd be happy to be handed a straightforward recipe.
>
> _______________________________________________
> m2e-dev mailing list
> m2e-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-dev
>


Back to the top