fabric8-analytics-vscode-extension icon indicating copy to clipboard operation
fabric8-analytics-vscode-extension copied to clipboard

[BUG] Open report doesn't use maven wrapper

Open fbricon opened this issue 4 years ago • 1 comments

Describe the bug I tested the extension on a machine that doesn't have Maven installed globally. I have a project that has the mvnw wrapper instead. When clicking on the report icon in the status bar, I got an ugly error

To Reproduce Steps to reproduce the behavior:

  1. don't have Maven installed globally
  2. open maven project using a mvnw wrapper
  3. click on the report icon
  4. See error

Expected behavior Opening the report should favor using the wrapper if it exists, before using the global mvn command

Screenshots

Capture d’écran (1)

VSCode(please complete the following information):

  • OS: Win 10
  • VSCode version 1.60.2
  • Dependency Analytics Version 0.3.3

fbricon avatar Sep 30 '21 10:09 fbricon

It would be nice if it would honor "maven.executable.preferMavenWrapper": true

Andrei-Paul avatar Apr 07 '22 13:04 Andrei-Paul