Thanks.  Appreciate the help.

John Kramer
email: [email protected]
mobile: 314.435.2370
skype: kramer.mojiva
twitter: @KramerKnowsTech <https://twitter.com/KramerKnowsTech>
0xCAFEBABE00000032







On 9/10/12 12:59 PM, "Laird Nelson" <[email protected]> wrote:

>On Mon, Sep 10, 2012 at 8:52 AM, John Kramer <[email protected]> wrote:
>
>> Quick question.  Is there a way to pass arguments to the JVMs that
>> surefire starts from the maven command line.
>>
>
>Hi, John; any parameter that has a documented "expression" can be invoked
>on the command line instead, like this:
>
>mvn somegoalorphase -Dtheexpression=somevalue
>
>
>So in your case:
>
>mvn test -DargLine="whatever"
>
>
>...because
>http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#argLi
>neindicates
>that the
>argLine configuration parameter has a corresponding expression named
>(conveniently enough) argLine.
>
>Best,
>Laird
>
>-- 
>http://about.me/lairdnelson


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

Reply via email to