Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Add -Duser.home parameter to maven opts in java-maven stack
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuziuk authored Jun 6, 2019
1 parent 0f292e9 commit 47558fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assembly/fabric8-stacks/src/main/resources/stacks.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
},
"env": {
"MAVEN_CONFIG": "/home/user/.m2",
"MAVEN_OPTS": "-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom",
"MAVEN_OPTS": "-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom -Duser.home=/home/user",
"JAVA_OPTS": "-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom",
"JAVA_TOOL_OPTIONS": "-XX:MaxRAMPercentage=50 -XX:+UseParallelGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xms20m -Djava.security.egd=file:/dev/./urandom",
"PS1": "$(echo ${0})\\$ ",
Expand All @@ -398,9 +398,8 @@
"defaultEnv": "default",
"description": null,
"attributes": {
"plugins": "eclipse/che-machine-exec-plugin/0.0.1,redhat/java/0.38.0",
"plugins": "eclipse/che-machine-exec-plugin/0.0.1,redhat/java/latest",
"editor": "eclipse/che-theia/next",
"sidecar.redhat/java.memory_limit": "1500Mi",
"sidecar.eclipse/che-theia.memory_limit": "512Mi"
},
"commands": []
Expand Down

0 comments on commit 47558fc

Please sign in to comment.