Pierre Villard created NIFI-15642:
-------------------------------------
Summary: commons-io - java.lang.NoSuchMethodError
Key: NIFI-15642
URL: https://issues.apache.org/jira/browse/NIFI-15642
Project: Apache NiFi
Issue Type: Bug
Affects Versions: nifi-nar-maven-plugin-2.3.0
Reporter: Pierre Villard
Assignee: Pierre Villard
Fix For: nifi-nar-maven-plugin-2.3.0
{code:java}
[ERROR] Failed to execute goal
org.apache.nifi:nifi-nar-maven-plugin:2.3.0-SNAPSHOT:nar (default-nar) on
project nifi-kafka-service-api-nar: Execution default-nar of goal
org.apache.nifi:nifi-nar-maven-plugin:2.3.0-SNAPSHOT:nar failed: An API
incompatibility was encountered while executing
org.apache.nifi:nifi-nar-maven-plugin:2.3.0-SNAPSHOT:nar:
java.lang.NoSuchMethodError:
'org.apache.commons.io.input.BoundedInputStream$Builder
org.apache.commons.io.input.BoundedInputStream.builder()' {code}
The error is caused by NIFI-15632 which upgraded maven-archiver from 3.6.4 to
3.6.6. This upgrade brought in plexus-archiver:4.10.4, which depends on
plexus-io:3.6.0 and commons-compress:1.28.0. Both of these require
commons-io:2.20.0. However, maven-dependency-plugin:3.9.0 transitively depends
on maven-shared-utils:3.4.2, which brings in commons-io:2.11.0. We need to pin
the version of commons-io.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)