You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/10/09 19:06:21 UTC
[jira] [Closed] (MNG-6102) Introduce ${maven.conf} in m2.conf
[ https://issues.apache.org/jira/browse/MNG-6102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov closed MNG-6102.
-------------------------------
Resolution: Fixed
Fixed with [4ad0fb217c93d36cf3365b83baec48470196f5fa|https://git-wip-us.apache.org/repos/asf?p=maven.git;a=commit;h=4ad0fb217c93d36cf3365b83baec48470196f5fa].
> Introduce ${maven.conf} in m2.conf
> ----------------------------------
>
> Key: MNG-6102
> URL: https://issues.apache.org/jira/browse/MNG-6102
> Project: Maven
> Issue Type: Improvement
> Components: Bootstrap & Build, core, Settings, Toolchains
> Affects Versions: 3.3.9
> Reporter: Michael Osipov
> Assignee: Michael Osipov
> Fix For: 3.4.0
>
>
> Package maintainers always try to fit a product into the file hierarchy given/mandated by the OS/distribution. They separate the application from the configuration to have one common place for every bit. Currently, Maven does not properly support his. {{conf/}} is tightly coupled with {{maven.home}} property and cannot be changed unless the Java code changes. Impossible for a maintainer to stick to [FHS|https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard] or [{{heir(7)}}|https://www.freebsd.org/cgi/man.cgi?query=hier&sourceid=opensearch]. By introducing a {{maven.conf}} property in {{m2.conf}}, a maintainer can easily move the configuration files to {{/usr/local/etc/maven3}}, decouple it from the installation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)