Skip to content

Commit

Permalink
SAK-29284 Use features in Maven 3.3.1 to reduce setup.
Browse files Browse the repository at this point in the history
Maven 3.3.1 allows MAVEN_OPTS to effectively come from the project source code. This means that developers have one less thing to configure when setting up their build.

On most developer machine the heap space options shouldn’t be needed as typically the JVM will limit it’s heap to 1/4 of physical memory, but it’s worth setting because some people may be compiling under VMs with much more limited memory constrains.

The permgen options aren’t included here as they are no longer supported under JDK 8 which is now required for master.
  • Loading branch information
buckett committed May 21, 2015
1 parent 608d2d2 commit 4c25b43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .mvn/jvm.config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
-Xms168m -Xmx1536m -XX:NewSize=64m -Djava.awt.headless=true

0 comments on commit 4c25b43

Please sign in to comment.