Guillaume Nodet created MNG-8342:
------------------------------------

             Summary: Display full command line at debug level
                 Key: MNG-8342
                 URL: https://issues.apache.org/jira/browse/MNG-8342
             Project: Maven
          Issue Type: Improvement
            Reporter: Guillaume Nodet
             Fix For: 4.0.0-beta-6


When debugging, especially integration tests, it would be really useful to have 
the full command line used to invoke maven.

At debug level, we could display:
* JVM arguments using 
{{ManagementFactory.getRuntimeMXBean().getInputArguments()}}
* The parser request: {{org.apache.maven.api.cli.ParserRequest}} fields (maybe 
not all)

The main use case is to be able to easily reproduce the invocation, preferably 
using a simple  copy/paste.
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to