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-li...@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-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org