RE: Can I get the user settings from a Mojo

2006-09-29 Thread Laura Hinojosa
Thank you! It work, I just have to change the class name.  The correct name is 
Settings:
 
 /**
 * @parameter expression=${settings}
 * @readonly
 */
 Settings settings;

 

 

 

From Rahul Thakur [EMAIL PROTECTED]   
Subject  Re: Can I get the user settings from a Mojo
Date Fri, 29 Sep 2006 05:00:12 GMT  
I think you can use something like this in your Mojo

 /**
 [EMAIL PROTECTED] expression=${settings}
 * @readonly
 */
 MavenSettings settings;

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

HTH,

Rahul



From: Laura Hinojosa [mailto:[EMAIL PROTECTED]
Sent: Thu 9/28/2006 11:31 PM
To: dev@maven.apache.org
Cc: users@maven.apache.org
Subject: 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

2006-09-28 Thread Rahul Thakur

I think you can use something like this in your Mojo

/**
[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Can I get the user settings from a Mojo

2006-09-28 Thread Laura Hinojosa

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.