You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Charles Harvey III <ch...@alloy.com> on 2006/03/16 21:58:49 UTC

[M2] Passing properties to a plugin

Hello again.
I am trying to write my own plugin (for Torque) and I would like to know how
to pass either a properties file or a list of properties to my plugin.
The page about creating your own plugin shows how you can pass parameters
in the command line, but I'd like to do it from a file.

Thanks.


Charlie


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


Re: [M2] Passing properties to a plugin

Posted by Arnaud Bailly <ab...@norsys.fr>.
Hi,
May be I am missing something but why don't you have a parameter which
is File that you later transform into a Properties object ? 

Regards,
-- 
Arnaud Bailly, Dr. - Ingénieur de Recherche 
NORSYS 
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr


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