fabric8-analytics-vscode-extension
fabric8-analytics-vscode-extension copied to clipboard
Report generation fails in Vscode running on WSL
Describe the bug When running inside WSL, the call to mvn fails with the following error:
[ERROR] Error executing Maven. [ERROR] The specified user settings file does not exist: /mnt/c/Users/masked/AppData/Local/Programs/Microsoft VS Code/.mvn/settings.xml
To Reproduce Open any maven project inside WSL and try to open dependency analytics report
Expected behavior Maybe it should look for settings.xml in ~/.m2 or $M2_HOME/conf directories inside WSL? I managed to workaround the issue by setting maven binary as mvn -s $M2_HOME/conf/settings.xml in extension's settings
VSCode(please complete the following information):
- OS: Windows
- VSCode version: 1.91.1
- Dependency Analytics Version: 0.9.4