Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Specify home path in java-maven devfile #6

Merged
merged 1 commit into from
Jun 1, 2019

Conversation

amisevsk
Copy link
Contributor

What does this PR do?

Since OpenShift starts containers with a random UID (which has no username associated with it), maven running on OpenShift cannot figure out where to place the .m2 repository. This PR explicitly sets the -Duser.home parameter to /home/user to match the mounted .m2 volume.

What issues does this PR fix or reference?

eclipse-che/che#13451

Since OpenShift starts containers with a random UID (which has no
username associated with it), maven running on OpenShift cannot figure
out where to place the .m2 repository. This commit explicitly sets the
-Duser.home parameter to /home/user to match the mounted .m2 volume.

Signed-off-by: Angel Misevski <amisevsk@redhat.com>
@monaka monaka merged commit 3970fdf into eclipse-che:master Jun 1, 2019
skabashnyuk added a commit to skabashnyuk/saas-openshiftio that referenced this pull request Jun 4, 2019
1. eclipse-che/che-devfile-registry#5 Change version of redhat-java plugin to latest
2. eclipse-che/che-devfile-registry#4 Add tags to meta.yaml
3. eclipse-che/che-devfile-registry#7 Added globalMemoryLimit to meta.yaml of devfiles
4. eclipse-che/che-devfile-registry#6 Specify home path in java-maven devfile
monaka added a commit that referenced this pull request Feb 1, 2020
Ohrimenko1988 added a commit that referenced this pull request May 18, 2020
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
Ohrimenko1988 added a commit that referenced this pull request May 29, 2020
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
sparkoo pushed a commit to sparkoo/che-devfile-registry that referenced this pull request Dec 4, 2020
…pse-che#6)

Add type of the object to the index file of che-plugin-registry (eclipse-che#6)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants