You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@johnzon.apache.org by sa...@apache.org on 2016/03/28 22:33:26 UTC

incubator-johnzon git commit: try to fix travis build (which is crashing while running surefire)

Repository: incubator-johnzon
Updated Branches:
  refs/heads/master 5ec4ba967 -> 03dd82382


try to fix travis build (which is crashing while running surefire)


Project: http://git-wip-us.apache.org/repos/asf/incubator-johnzon/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-johnzon/commit/03dd8238
Tree: http://git-wip-us.apache.org/repos/asf/incubator-johnzon/tree/03dd8238
Diff: http://git-wip-us.apache.org/repos/asf/incubator-johnzon/diff/03dd8238

Branch: refs/heads/master
Commit: 03dd82382d546811ded5d320dd19f3dfb36e48f7
Parents: 5ec4ba9
Author: Hendrik Saly <he...@gmail.com>
Authored: Mon Mar 28 22:33:23 2016 +0200
Committer: Hendrik Saly <he...@gmail.com>
Committed: Mon Mar 28 22:33:23 2016 +0200

----------------------------------------------------------------------
 pom.xml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-johnzon/blob/03dd8238/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index cabcc97..05c1db1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -51,6 +51,8 @@
     <cxf.version>3.0.0</cxf.version>
     <javadoc.params></javadoc.params> <!-- for java 8 set disable doclint (by profile) -->
     <checkstyle.version>2.15</checkstyle.version> <!-- checkstyle > 2.15 version do not support java 6 -->
+    <!-- JVM values for surefire plugin -->
+    <surefire.jvm.params>-Xms1024m -Xmx2048m -Dfile.encoding=UTF-8</surefire.jvm.params>
   </properties>
 
   <modules>
@@ -296,7 +298,7 @@
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.19.1</version>
         <configuration>
-          <args>-Dfile.encoding=UTF-8</args>
+          <argLine>${surefire.jvm.params}</argLine>
         </configuration>
       </plugin>
       <plugin>
@@ -439,7 +441,8 @@
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>2.19.1</version>
         <configuration>
-        <aggregate>true</aggregate>
+            <argLine>${surefire.jvm.params}</argLine>
+            <aggregate>true</aggregate>
         </configuration>
       </plugin>
       <plugin>