码迷,mamicode.com
首页 > 其他好文 > 详细

Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.1:rpm (default) on project **

时间:2016-08-25 20:33:46      阅读:414      评论:0      收藏:0      [点我收藏+]

标签:

maven编译项目时报错:Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.1:rpm (default) on project

原因:

没有安装rpm. 安装rpm build工具包:

yum install rpm

 或者

sudo apt-get install rpm

 

具体错误是:

Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.1:rpm (default) on project **: Unable to query for default vendor from RPM: Error while executing process. Cannot run program "rpm": error=2, 没有那个文件或目录

 

Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.1.1:rpm (default) on project **

标签:

原文地址:http://www.cnblogs.com/lixiaolun/p/5808183.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!