Stefan Oehme opened MNG-7131 and commented
I tried putting a path with a space in the maven.config like so:
"-Dmy.path=/some/path with/a/space"
When asking for the my.path property inside Maven, I get the path with a trailing quote
The file is parsed by splitting it by whitespace. I suggest replacing that code with the much better CommandLineUtils.translateCommandline(argLine)
Affects: 3.6.3
Issue Links:
-
MNG-7684 With Maven 3.9.0, maven.config requires each flag on a separate line
("causes")
-
MNG-8226 Unable to parse maven.config
-
MNG-5857 Arguments from command line should override those in .mvn/maven.config
-
MNG-7651 Simplify and document merge of maven.config file and CLI args
Remote Links:
Backported to: 4.0.0-alpha-2, 3.9.0
0 votes, 5 watchers
Stefan Oehme opened MNG-7131 and commented
I tried putting a path with a space in the maven.config like so:
"-Dmy.path=/some/path with/a/space"When asking for the my.path property inside Maven, I get the path with a trailing quote
The file is parsed by splitting it by whitespace. I suggest replacing that code with the much better CommandLineUtils.translateCommandline(argLine)
Affects: 3.6.3
Issue Links:
MNG-7684 With Maven 3.9.0,
maven.configrequires each flag on a separate line("causes")
MNG-8226 Unable to parse maven.config
MNG-5857 Arguments from command line should override those in .mvn/maven.config
MNG-7651 Simplify and document merge of maven.config file and CLI args
Remote Links:
Backported to: 4.0.0-alpha-2, 3.9.0
0 votes, 5 watchers