You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apex.apache.org by pr...@apache.org on 2017/08/30 18:49:08 UTC
[apex-core] branch master updated: APEXCORE-780 Limit JVM heap used
by maven to 256 MB.
This is an automated email from the ASF dual-hosted git repository.
pramod pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apex-core.git
The following commit(s) were added to refs/heads/master by this push:
new 66a03c4 APEXCORE-780 Limit JVM heap used by maven to 256 MB.
66a03c4 is described below
commit 66a03c4e0ea1aa916c94e09e5d0582a644ebfdbe
Author: Vlad Rozov <vr...@apache.org>
AuthorDate: Wed Aug 30 07:26:00 2017 -0700
APEXCORE-780 Limit JVM heap used by maven to 256 MB.
---
.mvn/jvm.config | 4 ++++
.travis.yml | 3 +++
pom.xml | 2 ++
3 files changed, 9 insertions(+)
diff --git a/.mvn/jvm.config b/.mvn/jvm.config
new file mode 100644
index 0000000..42fa8e6
--- /dev/null
+++ b/.mvn/jvm.config
@@ -0,0 +1,4 @@
+-Xms256m
+-Xmx256m
+-XX:MaxPermSize=128m
+-Djava.awt.headless=true
diff --git a/.travis.yml b/.travis.yml
index b18dfda..fbae091 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,9 @@
language: java
+jdk:
+ - openjdk7
+
script: mvn apache-rat:check verify -Dlicense.skip=false -Dtravis=true
notifications:
diff --git a/pom.xml b/pom.xml
index 2df1784..5774bb7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -169,6 +169,7 @@
<exclude>**/*.importorder</exclude>
<exclude>**/archetype-resources/**</exclude>
<exclude>misc/ide-templates/**</exclude>
+ <exclude>.mvn/jvm.config</exclude>
</excludes>
<mapping>
<apex>SCRIPT_STYLE</apex>
@@ -247,6 +248,7 @@
<exclude>**/*.importorder</exclude>
<exclude>misc/ide-templates/**</exclude>
<exclude>**/NOTICE.vm</exclude>
+ <exclude>.mvn/jvm.config</exclude>
</excludes>
</configuration>
</plugin>
--
To stop receiving notification emails like this one, please contact
['"commits@apex.apache.org" <co...@apex.apache.org>'].