maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Re: How to find out which parameters can be specified as command-line properties?
Date Sat, 13 Mar 2010 20:33:01 GMT
Yup, and you can use an abbreviated version too:
mvn help:describe -Dplugin=surefire -Ddetail=true

On Sat, Mar 13, 2010 at 2:30 PM, Mirko Friedenhagen
<mirko-lists@friedenhagen.de> wrote:
> Am 13.03.2010 um 03:06 schrieb sebb:
>> Some plugin parameters are settable as command-line properties.
>> For example, the Surefire plugin accepts the parameter <argLine> in
>> the POM and the property -DargLine on the command-line.
>>
>> Surefire also accepts <skipTests> and -DskipTests=true.
>>
>> However, Surefire accepts the <skip> parameter, but ignores -Dskip=true.
>>
>> How can one find out which parameters are settable as command-line
>> properties for a given plugin other than by trial and error? Is there
>> a rule for this? Or a help command?
>>
>
> Hello Sebb,
>
> mvn help:describe -Dplugin=org.apache.maven.plugins:maven-surefire-plugin -Ddetail=true
>
> will show you the goals and their options.
>
> For the command line parameter version of the options refer to e.g.:
> http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#skip
>
> There you see, that <skip> translates to maven.test.skip on the command line.
>
> Regards
> Mirko
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

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


Mime
View raw message