gsmet opened a new issue, #1008:
URL: https://github.com/apache/maven-mvnd/issues/1008

   First, thanks for this amazing project, it makes my Quarkus builds a lot 
faster.
   
   When using vanilla Maven, `MAVEN_CMD_LINE_ARGS` is set to whatever the Maven 
command line is.
   
   This allows you to inspect the Maven command line in extensions (for 
instance a Develocity extension).
   
   Unfortunately, `mvnd` doesn't set this environment variable and I couldn't 
find an easy (and reliable) way to get the command line in a way that wouldn't 
get cluttered with a lot of non relevant arguments (i.e. I don't want to use 
`ProcessHandle.current().info().commandLine()`).
   
   Would it be possible to mimic the Maven behavior (ideally) or expose it in 
some easily consumable way?
   
   For a use case, see 
https://github.com/quarkusio/quarkus-project-develocity-extension/blob/fa6fa13df7b56c31d6ba71b2b60017a5d827c8fb/src/main/java/io/quarkus/develocity/project/QuarkusProjectDevelocityConfigurationListener.java#L96
 .
   
   Note that I might have missed something obvious but I inspected 
`System.getenv()` and `System.getProperties()` to no avail.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to