执行mvn archetype:generate -DgroupId=com.mycompany.app -DartifactId=my-app -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false命令在powershell执行的时候可能会报错如下
The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\84322\Desktop\test). Please verify you invoked Maven from the correct directory. -> [Help 1]
但是在cmd、linux里执行就没有问题!