You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by GitBox <gi...@apache.org> on 2021/09/28 18:06:07 UTC

[GitHub] [maven-site] pat-lego commented on a change in pull request #246: [MNGSITE-246] Adding .mavenrc documentation

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




-- 
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: dev-unsubscribe@maven.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org