There must not be a whitespace after --settings,With the introduction of maven 3.9, there was a BREAKING CHANGE that affects the parsing of the maven.config file:
Each line in .mvn/maven.config is now interpreted as a single argument. That is, if the file contains multiple arguments, these must now be placed on separate lines