[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [m2e-dev] Plugin development: accessing a project's maven coordinates - CONTINUED
- From: Laurent PETIT <laurent.petit@xxxxxxxxx>
- Date: Fri, 13 Apr 2012 03:24:58 +0200
- Delivered-to: firstname.lastname@example.org
Le 13 avr. 2012 à 01:37, Igor Fedorenko <igor@xxxxxxxxxxxxxx> a écrit :
> You need to get new version of the facade each time you need to get
> Maven information about a project.
> On 12-04-12 7:27 PM, Laurent PETIT wrote:
>> Thanks Igor for the quick answer. I continue my questions on the m2e-dev
>> ml, then.
>> So I should use MavenPlugin.getMavenProjectRegistry().create(project,
>> monitor), which will return me an IMavenProjectFacade.
>> My next question relates to the expected usage of this facade : am I
>> expected to use it and throw it away (requiring a new facade next time I
>> want to access the project's coordinates) ? Or rather should I store it
>> for future usage (and thus I imagine it would be always kept up to date
>> with the project's state by e.g. listening to proper project change
>> events) ?
>> Thanks in advance,
>> -- Laurent
>> m2e-dev mailing list
> m2e-dev mailing list