2010/1/1 Tony Chemit <[email protected]>:
> Le Fri, 1 Jan 2010 01:25:21 +0100,
> Olivier Lamy <[email protected]> a écrit :
>
>> Hi,
>>
>> Maybe :
>>
>>     /**
>>      * The Maven Session Object
>>      *
>>      * @parameter expression="${session}"
>>      * @required
>>      * @readonly
>>      */
>>     protected MavenSession session;
>>
>> ?
>>
> and for sure adding the maven-core as a dependency of your mojo artifact ?


Why not ?
If you use public api and not private implementation, it's not a problem

>> HTH,
>> --
>> Olivier
>>
>> 2009/12/31 Stevo Slavić <[email protected]>:
>> > Hello Maven users,
>> >
>> > Can anyone please point me to some docs or example on how one can access a
>> > maven session from a plugin plexus.component?
>> >
>> > Regards,
>> > Stevo.
>> >
>>
>>
>>
>
>
>
> --
>
> Tony Chemit
> --------------------
> tél: +33 (0) 2 40 50 29 28
> email: [email protected]
> http://www.codelutin.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Olivier

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to