The process started by the maven consoles plugin ignores any environment variables that I specify. So far, I have been trying to add a variable through the command line, for example:
set myvariable=1
I also tried adding something like "-Dmyvariable = 1" to the MAVEN_OPTS variable.
Nothing helps.
To be clear, I need to pass the variable not to maven, but to the resulting process, that is, directly to the berth server.
source share