You have to set a mojo parameter and use the @expression tag to specify a variable. Take a look at some of the other mojos. I'm not sure if you can directly read all the params.
-----Original Message----- From: Aaron Digulla [mailto:[EMAIL PROTECTED] Sent: Thursday, February 01, 2007 8:51 AM To: [email protected] Subject: Where can I find command line properties?? Hello, I have a mojo which has dynamic parameters/properties which have to be specified via the commandline. When I'm in my execute() method, what do I have to call to see "value" when I call mvn with "-Dtest=value"? They aren't in MavenProject/Model.getProperties()... Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://www.pdark.de/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
