I'm having trouble building an RPM on the latest master.  I used to do this
with the command:

mvn clean install -DskipTests -Prpm

But this fails at the nifi-assembly step with an error:

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.5.2:single (make shared
resource) on project nifi-assembly: No formats specified in the execution
parameters or the assembly descriptor. -> [Help 1]

The same "mvn clean install -DskipTests -Prpm" works on the 0.x branch,
resulting in a successful build with an rpm in the nifi-assembly/target
tree.

Am I doing something dumb?

$ mvn -version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T16:41:47+00:00)
Maven home: /opt/apache-maven-3.3.9
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home:
/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.121-0.b13.29.amzn1.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "4.9.20-10.30.amzn1.x86_64", arch: "amd64",
family: "unix"

Thanks,

James

Reply via email to