.zshrc: Add MAVEN_OPTS to speed up mvn builds
See: https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
This commit is contained in:
parent
6f5c5b1b78
commit
19c9d664b4
3
.zshrc
3
.zshrc
@ -114,5 +114,8 @@ export GPG_TTY=$(tty)
|
|||||||
# Refresh gpg-agent tty in case user switches into an X Session
|
# Refresh gpg-agent tty in case user switches into an X Session
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||||
|
|
||||||
|
# Speed up JVM start for short-lived Java programs
|
||||||
|
# See: https://zeroturnaround.com/rebellabs/your-maven-build-is-slow-speed-it-up/
|
||||||
|
export MAVEN_OPTS="-XX:+TieredCompilation -XX:TieredStopAtLevel=1"
|
||||||
export PATH
|
export PATH
|
||||||
export MANPATH
|
export MANPATH
|
||||||
|
Loading…
Reference in New Issue
Block a user