[ 
https://issues.apache.org/jira/browse/NIFI-11917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17769708#comment-17769708
 ] 

Gregory M. Foreman commented on NIFI-11917:
-------------------------------------------

[~joewitt] , having Nifi in the EPEL repo would remove the need to run the 
maven build at all (for us anyway).  I think the only thing needed by EPEL is 
the binary version of Nifi, so testing should be easy and would be performed by 
EPEL project resources.  If none of the options is possible, then we will just 
create the rpm on our own.

> RPM build not being maintained - not working - not in testing chain - 
> consider removal
> --------------------------------------------------------------------------------------
>
>                 Key: NIFI-11917
>                 URL: https://issues.apache.org/jira/browse/NIFI-11917
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.23.0
>         Environment: Linux
>            Reporter: Gregory M. Foreman
>            Assignee: Joe Witt
>            Priority: Major
>             Fix For: 2.latest
>
>
> Nifi 1.23.0 is unable to build from source when using the rpm profile setting.
> This command:
> {code:java}
> JAVA_OPTS="-Xms128m -Xmx4g"
> MAVEN_OPTS="-Dorg.slf4j.simpleLogger.defaultLogLevel=ERROR -Xms1024m 
> -Xmx3076m -XX:MaxPermSize=256m"
> mvn -T C2.0 --batch-mode -Prpm -DskipTests clean install 
> {code}
> produces the following error:
> {code:java}
> [ERROR] Failed to execute goal 
> org.codehaus.mojo:rpm-maven-plugin:2.2.0:attached-rpm (build-bin-rpm) on 
> project nifi-toolkit-assembly: Source location 
> /root/test/nifi-1.23.0/nifi-toolkit/nifi-toolkit-assembly/target/nifi-toolkit-1.23.0-bin/nifi-toolkit-1.23.0/LICENSE
>  does not exist -> [Help 1]{code}
> The path above ends at:
> /root/test2/nifi/nifi-toolkit/nifi-toolkit-assembly/target/
> There is a zip file within it:
> nifi-toolkit-1.23.0-bin.zip
> It seems like this unzip was missed.
> Environment info:
> {code:bash}
> mvn -version
> Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
> Maven home: /opt/maven
> Java version: 1.8.0_372, vendor: Red Hat, Inc., runtime: 
> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.372.b07-1.el7_9.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux", version: "3.10.0-1160.95.1.el7.x86_64", arch: "amd64", 
> family: "unix"{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to