You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Laura Hinojosa <lh...@objectwave.com> on 2006/09/29 06:31:26 UTC

Can I get the user settings from a Mojo

Is it possible to access the Users settings from a Mojo??

Thanks

Laura

------------------------------------------------

This e-mail, and any attachments thereto, is confidential and is intended only for the individual(s) named.  If you are not the intended recipient, please let us know by e-mail reply and delete it from your system; do not copy/save this e-mail or disclose its contents to anyone.  E-mail transmissions cannot be guaranteed to be secure or error-free as the transmission could be interrupted, corrupted, lost, destroyed, altered, arrive late or contain viruses.  ObjectWave does not accept liability for any errors or omissions in the contents of this e-mail which arise as a result of e-mail transmission.  The views expressed in this e-mail do not necessarily reflect those of ObjectWave or its affiliates.

------------------------------------------------



Re: Can I get the user settings from a Mojo

Posted by Rahul Thakur <ra...@gmail.com>.
I think you can use something like this in your Mojo

     /**
     *@parameter expression="${settings}"
     * @readonly
     */
     MavenSettings settings;

PS: pls check the name spelling for the Maven settings class.

HTH,

Rahul



Laura Hinojosa wrote:
> Is it possible to access the Users settings from a Mojo??
>
> Thanks
>
> Laura
>
> ------------------------------------------------
>
> This e-mail, and any attachments thereto, is confidential and is intended only for the individual(s) named.  If you are not the intended recipient, please let us know by e-mail reply and delete it from your system; do not copy/save this e-mail or disclose its contents to anyone.  E-mail transmissions cannot be guaranteed to be secure or error-free as the transmission could be interrupted, corrupted, lost, destroyed, altered, arrive late or contain viruses.  ObjectWave does not accept liability for any errors or omissions in the contents of this e-mail which arise as a result of e-mail transmission.  The views expressed in this e-mail do not necessarily reflect those of ObjectWave or its affiliates.
>
> ------------------------------------------------
>
>
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Can I get the user settings from a Mojo

Posted by Brett Porter <br...@apache.org>.
Please don't crosspost to two lists at once. users@ is the right place.

On 29/09/2006, at 2:31 PM, Laura Hinojosa wrote:

>
> Is it possible to access the Users settings from a Mojo??
>
> Thanks
>
> Laura
>
> ------------------------------------------------
>
> This e-mail, and any attachments thereto, is confidential and is  
> intended only for the individual(s) named.  If you are not the  
> intended recipient, please let us know by e-mail reply and delete  
> it from your system; do not copy/save this e-mail or disclose its  
> contents to anyone.  E-mail transmissions cannot be guaranteed to  
> be secure or error-free as the transmission could be interrupted,  
> corrupted, lost, destroyed, altered, arrive late or contain  
> viruses.  ObjectWave does not accept liability for any errors or  
> omissions in the contents of this e-mail which arise as a result of  
> e-mail transmission.  The views expressed in this e-mail do not  
> necessarily reflect those of ObjectWave or its affiliates.
>
> ------------------------------------------------
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org