.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:
Alan Orth 2017-08-01 14:27:58 +03:00
parent 6f5c5b1b78
commit 19c9d664b4
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

3
.zshrc
View File

@ -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