vscode-maven icon indicating copy to clipboard operation
vscode-maven copied to clipboard

Deselect profile problem

Open Sorreldd opened this issue 2 years ago • 4 comments

When I deselect profile I get this generated command from the plugin. [artyom@artyom-vivobook backstage-ai]$ mvn clean -f "/home/artyom/Projects/backstage-ai/pom.xml" -P !spbgut

And error: bash: !spbgut: event not found

The exclamation mark needs to be escaped in most shells (but not required on Windows) Profile deselect shoud be -P '!profile1,profile2'
or
-P-profile1,-profile2 (without whitespace after P)

  • OS: [Arch Linux, terminal bash or zsh]
  • VS Code version: [1.79.2]
  • Extension version [0.41.0]

Sorreldd avatar Jun 21 '23 14:06 Sorreldd