[
https://issues.apache.org/jira/browse/NIFI-4780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
naitsab resolved NIFI-4780.
---------------------------
Resolution: Fixed
fixed after installing rpm-build
> Cannot build rpm for nifi-1.5.0 - SPECS not found
> -------------------------------------------------
>
> Key: NIFI-4780
> URL: https://issues.apache.org/jira/browse/NIFI-4780
> Project: Apache NiFi
> Issue Type: Bug
> Components: Tools and Build
> Environment: centos7
> maven 3.5.0
> nifi 1.5.0
> Reporter: naitsab
> Priority: Major
>
> Building rpm for version 1.5.0 using maven 3.5.0 and the following command:
> {code:java}
> mvn -T C2.0 clean install -X -Prpm,generateArchives{code}
> fails with the following error (no traceback):
> {code:java}
> [WARNING] The requested profile "generateArchives" could not be activated
> because it does not exist.
> [ERROR] Failed to execute goal
> org.codehaus.mojo:rpm-maven-plugin:2.1.5:attached-rpm (build-bin-rpm) on
> project nifi-assembly: Unable to build the RPM: Error while executing
> process. Cannot run program "rpmbuild" (in directory
> "/d0/ci/workspace/build-rpm-centos7/nifi-1.5.0/nifi-assembly/target/rpm/nifi-bin/SPECS"):
> error=2, No such file or directory -> [Help 1]{code}
> It uses to work fine with v1.4.0
> Could you please advise ?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)