VSCode Maven commands are broken in powershell
Closed this issue · 1 comments
TomKimsey commented
Output error
[ERROR] Unknown lifecycle phase ".javadoc.skip=true". You must specify a valid lifecyrmat <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-versiole phases are: pre-clean, clean, post-clean, validate, initialize, generate-sources, ources, process-resources, compile, process-classes, generate-test-sources, process-tsources, process-test-resources, test-compile, process-test-classes, test, prepare-paon-test, integration-test, post-integration-test, verify, install, deploy, pre-site,
Solution
There needs to be an escape before the -D
"command": "mvn install -f pom.xml `-Dmaven.javadoc.skip=true",
TomKimsey commented
This applies to all commands using "-D"