Maven Agent Command Line arguments

Does anyone know how to pass command line arguments to the maven agent? I'm able to specify jvm arguments but not arguments to be passed to maven (there's an important difference). I'm very interested in the -U (force update) and -X (verbose debug) maven options.

Thanks,

Mike.

1 comment
Comment actions Permalink

Hi Mike,
Mike Rowbotham wrote:

Does anyone know how to pass command line arguments to the maven agent? I'm able to specify jvm arguments but not arguments to be passed to maven (there's an important difference). I'm very interested in the -U (force update) and -X (verbose debug) maven options.


I'm not sure, but if you can specify these options via settings.xml, you can specify the path to
your settings.xml file.
Unfortunately, there is no explicit way to specify maven command-line parameters.

Regards,
KIR


--
Kirill Maximov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"

0

Please sign in to leave a comment.