我正在尝试构建一个已导入 eclipse 的项目。我运行 mvn clean 运行良好。运行 mvn install 给我以下错误:
[WARNING] 'rpmbuild' is not recognized as an internal or external command,
[WARNING] operable program or batch file.
Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0-beta-2:rpm (default)
on project fusion-restful: RPM build execution returned: '1' executing 'cmd.exe /X /C
"rpmbuild -bb --buildroot C:\Users\kb60500\fusion-portal\fusion-restful\target\rpm\buildroot
--define "_topdir C:\Users\kb60500\fusion-portal\fusion-restful\target\rpm" --target noarch fusion-restful.spec"' -> [Help 1]