microsoft / vscode-maven

VSCode extension "Maven for Java"
https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-maven
Other
179 stars 88 forks source link

Fail to disable profile because shell interprets the '!' character #995

Open Eskibear opened 10 months ago

Eskibear commented 10 months ago

This fails under MacOs on my box because the shell interprets the '!' character before it runs the command. Any way of tweaking this so that Bash and Zsh you could get it to use the Maven alternative syntax -P-disableThisProfile,enableThisProfile ?

Originally posted by @JFK-DXML in https://github.com/microsoft/vscode-maven/issues/956#issuecomment-1713854639

https://maven.apache.org/guides/introduction/introduction-to-profiles.html#deactivating-a-profile

Maybe we can use - instead of ! to have better compatibility.