redhat-developer / redhat-developer/vscode-java
.m2 folder ignores XDG Base Directory from "maven.settingsFile"
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 546
- Avg merge
- 20h 1m
- Merged PRs (30d)
- 11
Description
When I run VSCode maven project, I am getting ~/.m2 folder in my home directory.
I have set: "maven.settingsFile": "/home/untainsYD/.config/maven/settings.xml", and other maven-related stuff like:
Is there a way to get rid of polluting my home directory with Maven artefacts?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the VS Code Maven project behavior with maven.settingsFile set to /home/untainsYD/.config/maven/settings.xml and inspect how the extension handles Maven and XDG-related paths. Done means Maven artifacts no longer create an unexpected ~/.m2 directory, or the supported configuration and limitation are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, typescript, vscode
- Domain
- build-system, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100