-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I would like to specify my maven settings once for all my maven workspaces #16857
Comments
This issue partially overlap with #14680 |
This is a documentation issue. #14680 describes the technical feature that will allow to automatically mounts selected secrets in Che workspaces. This is about documenting about how this feature can be used to configure maven settings in workspaces. |
The difficulty here is that in our samples, we're using m2 volume at Considering we don't want to change Che-server code, I see following options:
Or we can fix the issue properly, which would need changes in Che-server code. We're thinking about something like mount the secrets some common place (e.g. Question is, are we ok with documenting workaround in this not ideal state? Or do we want to have it properly working now, fix it and do async release? |
Yes. I think we should document current behavior and the way how to workaround possible issues.
Yes. Let's start thinking about how to do that in a more optimal way to provide better UX. |
@sparkoo what about documenting to mount For proper solution we can look at how projected volumes work (design doc). |
I think the biggest problem is that we don't know where |
|
@skabashnyuk right and that's why it's not the ideal solution. But the user that owns the devfile should know where the ${maven.home} is so he should be able to configure the path in the secret or the devfile.
@sparkoo when this is the case that folder cannot be used, I agree. |
fixed by eclipse-che/che-docs#1302 |
Is your enhancement related to a problem? Please describe.
Currently I need to create a new maven
settings.xml
file for every new workspace I create. When #14680 will be implemented it will be possible to specify settings.xml as a secret and get it automatically mounted in my maven workspaces.Describe the solution you'd like
Update maven settings documentation after #14680 has been solved.
The text was updated successfully, but these errors were encountered: