[ https://issues.apache.org/jira/browse/MNG-8226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17877618#comment-17877618 ]
Hüseyin Kartal commented on MNG-8226: ------------------------------------- As far as I have analyzed, CommonsCLI does not offer any functionality to parse a file. Could someone point me to the code location where "maven.conf" is parsed in Maven? My guess is that the generated string array for CommonsCLI is just split by <line> and not by <spaces>. > Unable to parse maven.config > ---------------------------- > > Key: MNG-8226 > URL: https://issues.apache.org/jira/browse/MNG-8226 > Project: Maven > Issue Type: Bug > Components: Command Line, Settings > Affects Versions: 3.9.9 > Reporter: Hüseyin Kartal > Priority: Blocker > Attachments: maven.config > > > Maven don't recognize options in .mvn/maven.conf file. > Following options are not recognized in maven.conf file. > -s,--settings <arg> > -t,--toolchains <arg> > The resulting error is: > Unable to parse maven.config file options: Unrecognized option: --settings > .mvn/settings.xml > If the short options used without space -s<arg> it works. -- This message was sent by Atlassian Jira (v8.20.10#820010)