我编译了不出错呀!

2015-07-08



toudsf



发件人:Hongtu Zang <zanghongtu2...@gmail.com>
发送时间:2015-07-07 15:33
主题:Re: 编译安装4.5.1——mvn install -Dnoredist 报错
收件人:"users-cn"<users-cn@cloudstack.apache.org>
抄送:

切换到cloudstack源代码根目录,使用maven编译 
   1 
2 
  $ mvn clean 
$ mvn install -Dnoredist 
文章里是这样写的,你切换到根目录了么? 

2015-06-15 15:00 GMT+08:00 13662097...@163.com <13662097...@163.com>: 

> 
> 编译安装4.5.1 
> ./install-non-oss.sh 未报错 
> 
> 
> 当$ mvn clean 
> $ mvn install -Dnoredist 
> 报以下错误: 
> [ERROR] The goal you specified requires a project to execute but there is 
> no POM in this directory (/tmp/usr/apache_cloudstack_4.5.1/deps). 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. 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, 
> please read the following articles: 
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MissingProjectException 
> 
> 
> 
> 参考文档:http://www.cloudstack-china.org/2014/05/3371.html 
> 
> ------------------------------ 
> 
> = = = = = = = = = = = = = = = = = = = = 
> 
> 
> 致 
> 礼! 
> 
>                             wangzy 
> 13662097...@163.com <beiweib...@163.com> 
> 
> 

回复