pat-lego commented on a change in pull request #246:
URL: https://github.com/apache/maven-site/pull/246#discussion_r717839471
##########
File path: content/markdown/configure.md
##########
@@ -80,6 +80,12 @@ Starting with Maven 3.3.1+ you can define JVM configuration
via `${maven.project
You don't need to use these options in `MAVEN_OPTS` or switch between
different configurations.
+
+### `.mavenrc` file:
+
+Located in $HOME/.mavenrc (or %HOME%\mavenrc_pre.bat on windows) this file
allows you to define scripts which can set ENV variables and other properties
prior to Maven reading the project. This allows users to define variables in
either the settings.xml or pom.xml and have them read the property that was set
by the .mavenrc file.
Review comment:
@michael-o I have updated the document
##########
File path: content/markdown/configure.md
##########
@@ -80,6 +80,12 @@ Starting with Maven 3.3.1+ you can define JVM configuration
via `${maven.project
You don't need to use these options in `MAVEN_OPTS` or switch between
different configurations.
+
+### `.mavenrc` file:
+
+Located in `$HOME/.mavenrc` (or `%HOME%\mavenrc_pre.bat` on Windows) this file
allows you to define scripts which can set environment variables or system
properties prior to Maven building the project. This allows users to define
variables in either the settings.xml or pom.xml and have them read the property
that was set by the .mavenrc file.
Review comment:
@michael-o did you want to update something to use `%USERPROFILE%`? Not
sure what is being requested
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]