Add controller default JVM options 79/17379/5
authorThanh Ha <thanh.ha@linuxfoundation.org>
Mon, 30 Mar 2015 17:47:53 +0000 (13:47 -0400)
committerGerrit Code Review <gerrit@opendaylight.org>
Mon, 20 Jul 2015 10:42:40 +0000 (10:42 +0000)
Maven 3.3.1 has a new feature which lets us configure default
commandline options per project. This patch takes advantage of the new
feature so that Controller devs using the Maven 3.3.1+ no longer have
to export MAVEN_OPTS.

http://blog.soebes.de/blog/2015/03/17/apache-maven-3-dot-3-1-features/

Change-Id: Ic42840b5778bd8a421997f6e22df4a74f56210f7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
.mvn/jvm.config [new file with mode: 0644]
.mvn/maven.config [new file with mode: 0644]

diff --git a/.mvn/jvm.config b/.mvn/jvm.config
new file mode 100644 (file)
index 0000000..34df550
--- /dev/null
@@ -0,0 +1 @@
+-Xmx4096m -XX:MaxPermSize=1024m
diff --git a/.mvn/maven.config b/.mvn/maven.config
new file mode 100644 (file)
index 0000000..a583324
--- /dev/null
@@ -0,0 +1 @@
+-Dmaven.compile.fork=true

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.