You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by Bryan Bende <bb...@gmail.com> on 2021/11/30 21:04:34 UTC

Release helper for Apache NiFi NAR Maven Plugin 1.3.3

Hello,

The standard release candidate verification helper can be found here:

https://cwiki.apache.org/confluence/display/NIFI/How+to+help+verify+an+Apache+NiFi+release+candidate

In addition, the following steps can be used to verify the improvement
made in this release...

1) Download the source from:

https://dist.apache.org/repos/dist/dev/nifi/nifi-nar-maven-plugin-1.3.3/nifi-nar-maven-plugin-1.3.3-source-release.zip

2) Unzip the source and run "mvn clean install"

3) In your NiFi source code, edit the root pom.xml to change the
version of the NAR plugin from 1.3.2 to 1.3.3

4) Run a full build of NiFi, "mvn clean install" or whatever you prefer

5) Locate an extension-manifest.xml from one of the NARs, example:

ls -l nifi-nar-bundles/nifi-amqp-bundle/nifi-amqp-nar/target/META-INF/docs/
Nov 30 14:35 additional-details
Nov 30 14:35 extension-manifest.xml

6) Verify that the extension-manifest.xml now contains the groupId,
artifactId, version, parentNar, and buildInfo. You may want to open
the file in an editor that can pretty print the XML, in Intellij this
is the "Code -> Reformat Code" option.

<extensionManifest>
    <groupId>org.apache.nifi</groupId>
    <artifactId>nifi-amqp-nar</artifactId>
    <version>1.16.0-SNAPSHOT</version>
    <parentNar>
        <groupId>org.apache.nifi</groupId>
        <artifactId>nifi-standard-services-api-nar</artifactId>
        <version>1.16.0-SNAPSHOT</version>
    </parentNar>
    <systemApiVersion>1.16.0-SNAPSHOT</systemApiVersion>
    <buildInfo>
        <tag>nifi-1.15.0-RC3</tag>
        <branch>nar-plugin-test</branch>
        <revision>3e095ab</revision>
        <jdk>1.8.0_282</jdk>
        <builtBy>bbende</builtBy>
        <timestamp>2021-11-30T14:35:04Z</timestamp>
    </buildInfo>