From da6e081b06678ea7744b0f4e74d0ddaf88b1e91b Mon Sep 17 00:00:00 2001 From: zhiqiang feng Date: Tue, 20 Feb 2024 11:17:17 +0000 Subject: [PATCH] Add bind mount for Maven settings.xml file --- .devcontainer/devcontainer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 72f5f190..0ad720d3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -41,6 +41,7 @@ }, "mounts": [ "source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached", + "source=${localEnv:HOME}/.m2/settings.xml,target=/usr/local/sdkman/candidates/maven/current/conf/settings.xml,type=bind,consistency=cached" ] // Use 'forwardPorts' to make a list of ports inside the container available locally.