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.2.0 source release artifacts for review:

wget 
https://dist.apache.org/repos/dist/dev/nifi/nifi-nar-maven-plugin-1.2.0/nifi-nar-maven-plugin-1.2.0-source-release.zip
wget 
https://dist.apache.org/repos/dist/dev/nifi/nifi-nar-maven-plugin-1.2.0/nifi-nar-maven-plugin-1.2.0-source-release.zip.asc
wget 
https://dist.apache.org/repos/dist/dev/nifi/nifi-nar-maven-plugin-1.2.0/nifi-nar-maven-plugin-1.2.0-source-release.zip.md5
wget 
https://dist.apache.org/repos/dist/dev/nifi/nifi-nar-maven-plugin-1.2.0/nifi-nar-maven-plugin-1.2.0-source-release.zip.sha1
wget 
https://dist.apache.org/repos/dist/dev/nifi/nifi-nar-maven-plugin-1.2.0/nifi-nar-maven-plugin-1.2.0-source-release.zip.sha256

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

# Verify the hashes (md5, sha1, sha256) match the source and what was
provided in the vote email thread
md5sum nifi-nar-maven-plugin-1.2.0-source-release.zip
sha1sum nifi-nar-maven-plugin-1.2.0-source-release.zip
sha256sum nifi-nar-maven-plugin-1.2.0-source-release.zip

# Unzip nifi-nar-maven-plugin-1.2.0-source-release.zip

# Verify the build works including release audit tool (RAT) checks
cd nifi-nar-maven-plugin-1.2.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

# To test in NiFi...

# Update the version of the nifi-nar-maven-plugin in the NiFi root pom to 1.2.0:

<plugin>
  <groupId>org.apache.nifi</groupId>
  <artifactId>nifi-nar-maven-plugin</artifactId>
  <version>1.2.0</version>
  <extensions>true</extensions>
</plugin>

# Rebuild NiFi
mvn clean install

# Verify the resulting NiFi assembly starts and runs basic flows as expected

# Inspect some of the built NAR files to verify new entires are populated:

cd nifi-nar-bundles/nifi-standard-bundle/nifi-standard-nar/target/
unzip nifi-standard-nar-1.2.0-SNAPSHOT.nar
vi META-INF/MANIFEST.MF

Verify the following entries are present:

Nar-Group: org.apache.nifi
Nar-Id: nifi-standard-nar
Nar-Version: 1.2.0-SNAPSHOT

Nar-Dependency-Group: org.apache.nifi
Nar-Dependency-Id: nifi-standard-services-api-nar
Nar-Dependency-Version: 1.2.0-SNAPSHOT

Clone-During-Instance-Class-Loading: false

Build-Tag: HEAD
Build-Jdk: 1.8.0_74
Build-Timestamp: 2017-03-14T12:01:27Z
Built-By: <your username>

# 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!

Reply via email to