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 all 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 `$HOME/.mavenrc` (or `%HOME%\mavenrc_pre.bat` on Windows) this file defines environment variables and system properties used when Maven builds the project. With this users can define variables in either the settings.xml or pom.xml and have them read the property that was set by the .mavenrc file.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that we can define only environment variables.
I don't know how to set a system properties

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With this users can define variables in either the settings.xml or pom.xml ...

-> can use define environment variables ...



## Other guides

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