Peter Turcsanyi created NIFI-13773:
--------------------------------------
Summary: Make nifi-nar-maven-plugin capable of using different
versions of nifi-api and nifi-framework-api dependencies
Key: NIFI-13773
URL: https://issues.apache.org/jira/browse/NIFI-13773
Project: Apache NiFi
Issue Type: Improvement
Reporter: Peter Turcsanyi
Assignee: Peter Turcsanyi
nifi-api is going to be extracted into a separate git repo and it will have its
own release cycle in the future. So nifi-api and nifi versions will be
independent and nifi with version A should be able to build with nifi-api
version B.
Testing this scenario with nifi 2.0.0-SNAPSHOT and nifi-api 2.0.0 surfaced the
following issue in nifi-nar-maven-plugin during doc generation:
{code:java}
[ERROR] Failed to execute goal org.apache.nifi:nifi-nar-maven-plugin:2.0.0:nar
(default-nar) on project nifi-python-test-extensions-nar: Failed to create
Extension Documentation: Could not resolve local dependency
org.apache.nifi:nifi-framework-api:jar:2.0.0 {code}
The nar plugin looks for nifi-framework-api with the exact same version as
nifi-api's version. This needs to be improved in order to support the
independent nifi-api vs nifi versioning.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)