Skip to content
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

Local dev startup fails if ~/.m2 directory hasn't been created already #3970

Open
jakubfiala opened this issue Dec 4, 2023 · 0 comments
Open

Comments

@jakubfiala
Copy link

Context

When starting the service for the first time locally, the Maven installation fails because it can't read from the /home/akvo/.m2 directory.

Problem or idea

If the local system doesn't already have a ~/.m2 directory, Docker tries to create a write-only dir by default when mounting the volume. However, Maven expects to be able to read from the directory, so it fails.

Solution or next step

Either document this, or create the ~/.m2 directory automatically with read and write permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant