You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Kevin Doran <kd...@apache.org> on 2023/01/30 23:24:03 UTC

Apache NiFi NAR Maven Plugin 1.4.0 RC1 Release Helper Guide

Hello Apache NiFi community,

Please find the associated guidance to help those interested in
validating/verifying the release so they can vote.

# Download latest KEYS file:https://dist.apache.org/repos/dist/dev/nifi/KEYS

# Import keys file:
gpg --import KEYS

# [optional] Clear out local maven artifact repository

# Pull down nifi-nar-maven-plugin-1.4.0 source release artifacts for review:

wget https://repository.apache.org/content/repositories/orgapachenifi-1219/org/apache/nifi/nifi-nar-maven-plugin/1.4.0/nifi-nar-maven-plugin-1.4.0-source-release.zip
wget https://repository.apache.org/content/repositories/orgapachenifi-1219/org/apache/nifi/nifi-nar-maven-plugin/1.4.0/nifi-nar-maven-plugin-1.4.0-source-release.zip.asc
wget https://repository.apache.org/content/repositories/orgapachenifi-1219/org/apache/nifi/nifi-nar-maven-plugin/1.4.0/nifi-nar-maven-plugin-1.4.0-source-release.zip.sha512

# Verify the signature
gpg --verify -v nifi-nar-maven-plugin-1.4.0-source-release.zip.asc

# Verify the hash (sha512) matches the source and what was provided in
the vote email thread
shasum -a 512 nifi-nar-maven-plugin-1.4.0-source-release.zip

# Unzip nifi-nar-maven-plugin-1.4.0-source-release.zip
unzip nifi-nar-maven-plugin-1.4.0-source-release.zip

# Verify the build works including release audit tool (RAT) checks
cd nifi-nar-maven-plugin-1.4.0
mvn clean install -Pcontrib-check

# Verify the contents contain a good README, NOTICE, and LICENSE.
# Verify the git commit ID is correct
# Verify the RC was branched off the correct git commit ID

# Verify that NiFi can build NARs correctly using the plugin

- Update NiFi's root pom to use version 1.4.0 of the
pluginhttps://github.com/apache/nifi/blob/main/pom.xml#L102

- Perform a build of NiFi, optionally clear out local .m2 repo
mvn clean install

- Ensure that NiFi starts and loads all processors, controller
services, and reporting tasks

- Spot check a few NARs to ensure they include
META-INF/docs/extension-manifest.xml
cp NIFI_HOME/lib/nifi-xyz-bundle.nar /tmp
cd /tmp
unzip nifi-xyz-bundle.nar
cat META-INF/docs/extension-manifest.xml

# Send a response to the vote thread indicating a +1, 0, -1 based on
your findings.

Thank you for your time and effort to validate the release!