Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MNGSITE-246] Adding .mavenrc documentation #246

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions content/markdown/configure.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 USER_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 dynamically set by the .mavenrc file.
michael-o marked this conversation as resolved.
Show resolved Hide resolved


## Other guides

The following guides contain further information to specific configuration aspects:
Expand Down