Running mvn [goal] results in:
[ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\opt\Projects\br_dev). Please verify you invoked Maven from the correct directory. –> [Help 1].
Not sure yet what is causing it but I was actually running the mvn command inside the correct directory but in the Visual Studio code terminal.
Current workout is:
& “c:\opt\Projects\laboratory\spring-boot-simple\spring-boot-simple\mvnw.cmd” clean -f “c:\opt\Projects\laboratory\spring-boot-simple\spring-boot-simple\pom.xml”
and is able to successfully build the project.