Skip to content

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

@jakubfiala

Description

@jakubfiala

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions