Mike Thomsen created NIFI-9791:
----------------------------------
Summary: nifi-runtime-manifest fails to build due to exec:java
failure
Key: NIFI-9791
URL: https://issues.apache.org/jira/browse/NIFI-9791
Project: Apache NiFi
Issue Type: Bug
Reporter: Mike Thomsen
Here is the build failure I encountered locally when running the 1.16.0 RC1
build:
[*INFO*] *---* maven-surefire-plugin:3.0.0-M5:test *(default-test)* @
nifi-runtime-manifest *---*
[*INFO*] Tests are skipped.
[*INFO*]
[*INFO*] *---* exec-maven-plugin:1.6.0:java *(generate-runtime-manifest)* @
nifi-runtime-manifest *---*
Mar 11, 2022 3:54:43 PM
org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator main
INFO: Writing runtime manifest to:
/private/tmp/nifi-1.16.0/nifi-manifest/nifi-runtime-manifest/target/classes/nifi-runtime-manifest.json
[*WARNING*]
*java.lang.NumberFormatException*: *For input string: "${timestamp}"*
*at* java.lang.NumberFormatException.forInputString
({*}NumberFormatException.java:65{*})
*at* java.lang.Long.parseLong ({*}Long.java:678{*})
*at* java.lang.Long.valueOf ({*}Long.java:1144{*})
*at* org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator.execute
({*}RuntimeManifestGenerator.java:81{*})
*at* org.apache.nifi.runtime.manifest.impl.RuntimeManifestGenerator.main
({*}RuntimeManifestGenerator.java:143{*})
*at* jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 ({*}Native
Method{*})
*at* jdk.internal.reflect.NativeMethodAccessorImpl.invoke
({*}NativeMethodAccessorImpl.java:62{*})
*at* jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke
({*}DelegatingMethodAccessorImpl.java:43{*})
*at* java.lang.reflect.Method.invoke ({*}Method.java:566{*})
*at* org.codehaus.mojo.exec.ExecJavaMojo$1.run ({*}ExecJavaMojo.java:282{*})
*at* java.lang.Thread.run ({*}Thread.java:829{*})
--
This message was sent by Atlassian Jira
(v8.20.1#820001)