Camel Springboot fails to start by Maven command through vscode terminal on Windows
Issue
On the Windows vscode environment, the following maven command fails.
mvn spring-boot:run -DskipTests -Dspring-boot.run.arguments="--server.port=8081"
Error log
[ERROR] Unknown lifecycle phase ".run.arguments=--server.port=8081". You must specify a valgin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]
Environment
- Red Hat Fuse
- 7.11
- VSCode on Windows
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.