[ https://issues.apache.org/jira/browse/MNG-7208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395568#comment-17395568 ]
Michael Osipov edited comment on MNG-7208 at 8/15/21, 8:07 PM: --------------------------------------------------------------- According to this [resource|https://docs.microsoft.com/en-us/archive/blogs/patricka/where-should-i-store-my-data-and-configuration-files-if-i-target-multiple-os-versions] we should store this file in {{%SystemDrive%\ProgramData}} which is available through the environment variable {{PROGRAMDATA}}. So the file is read from {{%PROGRAMDATA%\mavenrc.cmd}}. was (Author: michael-o): According to this [resource|https://docs.microsoft.com/en-us/archive/blogs/patricka/where-should-i-store-my-data-and-configuration-files-if-i-target-multiple-os-versions] we should store this file in {{%SystemDrive%\ProgramData}} which is available through the environment variable {{ALLUSERSPROFILE}}. So the file is read from {{%ALLUSERSPROFILE%\mavenrc.cmd}}. > Introduce a system-wide mavenrc.cmd in Windows command script > ------------------------------------------------------------- > > Key: MNG-7208 > URL: https://issues.apache.org/jira/browse/MNG-7208 > Project: Maven > Issue Type: New Feature > Components: Command Line > Reporter: Michael Osipov > Priority: Major > Fix For: 4.0.x-candidate > > > Currently, the Windows command script does not offer to globally load a > {{mavenrc.cmd}} on system-level which the POSIX shells scripts provide > {{/usr/local/etc/mavenrc}} and {{/etc/mavenrc}}. Windows support should be on > par with POSIX for the sake of consistency. -- This message was sent by Atlassian Jira (v8.3.4#803005)