-
Notifications
You must be signed in to change notification settings - Fork 212
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
Do not create runtime files/directories in installation directory #179
Comments
Using |
AFAICT, depending on which files actually end up there, different |
@famod you mean different mvnd versions ? I don't think I see a use case for having a user installing the same mvnd version in different multiple times. |
I think we need distinct registries per mvnd version. |
Ok, but I still haven't understood the use case. I'm refactoring the daemon settings handling so that it will be easier to add properties passed to the daemon, and also make all those properties part of the daemon selection process. Is configuration your use case for using different installations ? |
And for the local maven repository, I think it should currently be already working. I.e. the daemon should not messed up the different repositories. However, it also means it won't cache anything when switching from one repo to another, so we could investigate making the local repo a discriminating property too. |
This has been done as part of 4030f8b The default is |
mvnd 0.0.11 creates a
daemon
directory in the installation directory, which does not work if you install it in a system directory (like/opt
or/usr/local
) and let it be own by root:It should create runtime files/directories in
/tmp
if they do not need to survive reboot, or otherwise in$HOME/.cache
.The text was updated successfully, but these errors were encountered: