ravn commented on code in PR #308:
URL: https://github.com/apache/maven-site/pull/308#discussion_r912552470


##########
content/markdown/configure.md:
##########
@@ -65,26 +130,35 @@ From now on this can be done much more simpler and in a 
more Maven like way. So
 </extensions>
 ```
 
-Now you can simply use an extension by defining the usual maven coordinates 
groupId, artifactId, version as any other artifact. Furthermore all transitive 
dependencies of those extensions will automatically being downloaded from your 
repository. So no need to create a shaded artifact anymore.
+### `/usr/local/etc/mavenrc` + `/etc/mavenrc` + `$HOME/.mavenrc`
 
-### `.mvn/maven.config` file:
+Unix-like systems only: 
+Configuration files executed by the Unix launcher scripts first thing, unless
+if the environment variable `$MAVEN_SKIP_RC` is set.
 
-It’s really hard to define a general set of options for calling the maven 
command line. Starting with Maven 3.3.1+, this can be solved by 
-putting this 
-options to a script but this can now simple being done by defining 
`${maven.projectBasedir}/.mvn/maven.config` file which contains the 
-configuration options for the `mvn` command line. 
+Typically environment variables - including `$PATH` - are set here.
 
-For example things like `-T3 -U --fail-at-end`. So you only have to call Maven 
just by using `mvn 
-clean package` instead of `mvn -T3 -U --fail-at-end clean package` and not to 
miss the `-T3 -U --fail-at-end` options on every call. The 
-`${maven.projectBasedir}/.mvn/maven.config` is located in the 
`${maven.projectBasedir}/.mvn/` directory; also works if in the root of a multi 
module build.
+### `%USERPROFILE%\mavenrc_pre.bat` + `%USERPROFILE%\mavenrc_pre.cmd`

Review Comment:
   Not in the wrapper scripts I was looking at for 3.84.  Has this just changed?
   
   ```
   @REM Execute a user defined script before this one
   if not "%MAVEN_SKIP_RC%"=="" goto skipRcPre
   @REM check for pre script, once with legacy .bat ending and once with .cmd 
ending
   if exist "%USERPROFILE%\mavenrc_pre.bat" call 
"%USERPROFILE%\mavenrc_pre.bat" %*
   if exist "%USERPROFILE%\mavenrc_pre.cmd" call 
"%USERPROFILE%\mavenrc_pre.cmd" %*
   :skipRcPre
   ````
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to