gnodet commented on issue #813:
URL: https://github.com/apache/maven-mvnd/issues/813#issuecomment-1500598783

   > > > > Ok, so add `-Dlogback.configurationFile=​logback.​xml` to 
`maven.config`? Will that always find `.mvn/logback.xml`?
   > > > 
   > > > 
   > > > This is wrong! What you want is a system property, but `maven.config` 
is _only_ about Maven user properties. You must use `jvm.config` for this.
   > > 
   > > 
   > > That's irrelevant. The question is the same with `jvm.config`... Or that 
mean that there's a need for yet another level of property, which may become a 
bit too much...
   > 
   > I wouldn't say so because both files are processed in completely different 
ways. This matters.
   
   This is purely a technical problem however.   Some system properties can be 
set before the JVM is started (using `-Dxxx` options on the JVM command line), 
others can be set by the java code using `System.setProperty`.  Both may need 
to be supported, and splitting completely user properties from system 
properties (i.e. not setting user properties as system properties) may open the 
need for properties to be set by maven early (i.e. same time as user properties 
atm).


-- 
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