[ https://issues.apache.org/jira/browse/MNG-6603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16777919#comment-16777919 ]
Julien Nicoulaud commented on MNG-6603: --------------------------------------- Currently a workaround is: {code:xml} mvn -gs "$XDG_CONFIG_HOME"/maven/settings.xml{code} With {{settings.xml}}: {code:xml} <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> ... <localRepository>${env.XDG_CACHE_HOME}/maven/repository</localRepository> ... </settings>{code} > 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 > > 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] > -- This message was sent by Atlassian JIRA (v7.6.3#76005)