You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2024/10/22 06:38:00 UTC
[jira] [Created] (MNG-8342) Display full command line at debug level
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)