Wicket在http://wicket.apache.org/start/quickstart.html的主页上提供了一个简单的“快速启动”命令生成器,可与Maven一起使用
我安装了这个,并了解Maven会自动从其中央存储库下载所需的必备条件。但是当我运行它生成的命令时,我得到:
[INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.161s [INFO] Finished at: Fri May 06 22:07:28 EDT 2011 [INFO] Final Memory: 1M/15M [INFO] ------------------------------------------------------------------------ [ERROR] The goal you specified requires a project to execute but there is no POM in this directory (C:\Users\xxxxxx\Projects\[project dir]). Please verify you invoked Maven from the correct directory. -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging.
我做错了什么?
答案 0 :(得分:2)
该消息表明Maven没有识别出原型插件。 你能复制和粘贴你正在使用的确切命令吗? 正在使用Windows cmd shell吗? 尝试逃避争论。