...
rm -rf ~/.m2/repository/*
Pull down nifi-1.23.
...
2 source release artifacts for review
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-1.23.12/nifi-1.23.12-source-release.zip
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-1.23.12/nifi-1.23.12-source-release.zip.asc
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-1.23.12/nifi-1.23.12-source-release.zip.sha256
wget https://dist.apache.org/repos/dist/dev/nifi/nifi-1.23.12/nifi-1.23.12-source-release.zip.sha512
...
gpg --verify -v nifi-1.23.12-source-release.zip.asc
Verify the hashes (sha256, sha512) match the source and what was provided in the vote email thread
shasum -a 256 nifi-1.23.12-source-release.zip
shasum -a 512 nifi-1.23.12-source-release.zip
On Windowscertutil -hashfile nifi-1.23.12-source-release.zip SHA256
certutil -hashfile nifi-1.23.12-source-release.zip SHA512
Unzip nifi-1.23.
...
2-source-release.zip
unzip -DD nifi-1.23.12-source-release.zip
Verify the build works and passes licensing and style checks
Use Maven Wrapper to build using the currently configured Maven version. The Maven Wrapper script is named mvnw for Linux and macOS, and mvnw.cmd for Windows.
cd nifi-1.23.12
For Linux or macOS:
./mvnw -T 1C clean install -Pcontrib-check
...