[ 
https://issues.apache.org/jira/browse/MNG-6603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17891840#comment-17891840
 ] 

Ignacio Taranto commented on MNG-6603:
--------------------------------------

Another possibility, which maybe be simpler to implement, would be to add a 
setting in the global settings ({*}/etc/maven/settings.xml{*} on Linux) that 
allows overriding the user settings to somewhere else. In the same way it can 
be done for {*}localRepository{*}.

This way, this way there's no reason to use shell aliases like *mvn -gs 
$HOME/.config/maven/settings.xml* which actually don't work well when other 
tools invoke {*}mvn{*}.

> XDG Base Directory Specification support
> ----------------------------------------
>
>                 Key: MNG-6603
>                 URL: https://issues.apache.org/jira/browse/MNG-6603
>             Project: Maven
>          Issue Type: Improvement
>          Components: Settings
>    Affects Versions: 3.6.0
>            Reporter: Julien Nicoulaud
>            Priority: Major
>             Fix For: Issues to be reviewed for 4.x
>
>
> Could Maven please follow the XDG Base Directory Specification for the 
> configuration/data directory on linux?
> More infos here:
>  * [http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html]
>  * [http://www.freedesktop.org/wiki/Software/pyxdg]
>  * [https://wiki.archlinux.org/index.php/XDG_Base_Directory#Support]
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to