Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6102

Introduce ${maven.conf} in m2.conf

    Details

      Description

      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 or heir(7). 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.

        Issue Links

          Activity

          Hide
          hudson Hudson added a comment -

          SUCCESS: Integrated in Jenkins build maven-3.x #1505 (See https://builds.apache.org/job/maven-3.x/1505/)
          MNG-6102 Introduce $

          {maven.conf}

          in m2.conf (michaelo: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=be5caccaff3d00ffca4b3cefe9665b6106bc44bf)

          • (edit) apache-maven/src/conf/toolchains.xml
          • (edit) maven-core/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
          • (edit) apache-maven/src/bin/m2.conf
          • (edit) apache-maven/src/conf/settings.xml
          • (edit) maven-embedder/src/site/apt/logging.apt
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Show
          hudson Hudson added a comment - SUCCESS: Integrated in Jenkins build maven-3.x #1505 (See https://builds.apache.org/job/maven-3.x/1505/ ) MNG-6102 Introduce $ {maven.conf} in m2.conf (michaelo: http://git-wip-us.apache.org/repos/asf/?p=maven.git&a=commit&h=be5caccaff3d00ffca4b3cefe9665b6106bc44bf ) (edit) apache-maven/src/conf/toolchains.xml (edit) maven-core/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java (edit) apache-maven/src/bin/m2.conf (edit) apache-maven/src/conf/settings.xml (edit) maven-embedder/src/site/apt/logging.apt (edit) maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          Hide
          michael-o Michael Osipov added a comment -
          Show
          michael-o Michael Osipov added a comment - Fixed with be5caccaff3d00ffca4b3cefe9665b6106bc44bf .
          Hide
          stephenc Stephen Connolly added a comment -

          Maven 3.4.0 has been dropped. See this thread for more details.

          This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.

          Show
          stephenc Stephen Connolly added a comment - Maven 3.4.0 has been dropped. See this thread for more details. This issue will need to be re-scheduled for a Maven release in the (hopefully near) future.
          Hide
          hudson Hudson added a comment -

          UNSTABLE: Integrated in Jenkins build maven-3.x #1390 (See https://builds.apache.org/job/maven-3.x/1390/)
          MNG-6102 Introduce $

          {maven.conf}

          in m2.conf (michaelo: rev 4ad0fb217c93d36cf3365b83baec48470196f5fa)

          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java
          • (edit) maven-core/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
          • (edit) apache-maven/src/conf/toolchains.xml
          • (edit) maven-embedder/src/site/apt/logging.apt
          • (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
          • (edit) apache-maven/src/conf/settings.xml
          • (edit) apache-maven/src/bin/m2.conf
          Show
          hudson Hudson added a comment - UNSTABLE: Integrated in Jenkins build maven-3.x #1390 (See https://builds.apache.org/job/maven-3.x/1390/ ) MNG-6102 Introduce $ {maven.conf} in m2.conf (michaelo: rev 4ad0fb217c93d36cf3365b83baec48470196f5fa) (edit) maven-embedder/src/main/java/org/apache/maven/cli/configuration/SettingsXmlConfigurationProcessor.java (edit) maven-core/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java (edit) apache-maven/src/conf/toolchains.xml (edit) maven-embedder/src/site/apt/logging.apt (edit) maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java (edit) apache-maven/src/conf/settings.xml (edit) apache-maven/src/bin/m2.conf
          Hide
          michael-o Michael Osipov added a comment -
          Show
          michael-o Michael Osipov added a comment - Fixed with 4ad0fb217c93d36cf3365b83baec48470196f5fa .

            People

            • Assignee:
              michael-o Michael Osipov
              Reporter:
              michael-o Michael Osipov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development