You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2021/08/20 00:12:52 UTC

[maven] branch master updated: [MNG-7208] Document system-wide mavenrc.cmd in Windows command script

This is an automated email from the ASF dual-hosted git repository.

hboutemy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git


The following commit(s) were added to refs/heads/master by this push:
     new b20bfb1  [MNG-7208] Document system-wide mavenrc.cmd in Windows command script
b20bfb1 is described below

commit b20bfb1a08a04aaa86dab010d47e648a92ce3531
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Fri Aug 20 02:12:50 2021 +0200

    [MNG-7208] Document system-wide mavenrc.cmd in Windows command script
---
 apache-maven/src/site/apt/index.apt.vm | 20 +++++++++++---------
 1 file changed, 11 insertions(+), 9 deletions(-)

diff --git a/apache-maven/src/site/apt/index.apt.vm b/apache-maven/src/site/apt/index.apt.vm
index 1d80266..627307d 100644
--- a/apache-maven/src/site/apt/index.apt.vm
+++ b/apache-maven/src/site/apt/index.apt.vm
@@ -29,12 +29,14 @@ ${project.name}
 
 * References
 
- * <<<mvn>>> invocation can be customised through:
-
-   * <<</usr/local/etc/mavenrc>>> (since 3.8.2), <<</etc/mavenrc>>> and <<<$HOME/.mavenrc>>> scripts on Unix,
-
-   * <<<%USERPROFILE%\\mavenrc_pre.bat>>> and <<<%USERPROFILE%\\mavenrc_pre.cmd>>> scripts on Windows,
-
-   []
-
-  and these scripts calls can be disabled by setting <<<MAVEN_SKIP_RC>>> environment variable. 
+ * <<<mvn>>> invocation can be customized through pre-invocation script calls, that can be disabled by setting <<<MAVEN_SKIP_RC>>> environment variable:
+
+*----------+--------------------------------------------+-----------------------+
+||         || system level                              || user level 
+*----------+--------------------------------------------+-----------------------+
+|| POSIX   | <<</etc/mavenrc>>>\
+||         | <<</usr/local/etc/mavenrc>>> (since 3.8.2) | <<<$HOME/.mavenrc>>> 
+*----------+--------------------------------------------+-----------------------+
+|| Windows | <<<%PROGRAMDATA%\\mavenrc.cmd>>> (since 4) | <<<%USERPROFILE%\\mavenrc_pre.bat>>>\
+||         |                                            | <<<%USERPROFILE%\\mavenrc_pre.cmd>>> (since 3.3.1)
+*----------+--------------------------------------------+-----------------------+