Skip to content

Commit e4d2900

Browse files
authored
Merge pull request #15 from DavidGitter/chore/support-nifi-2.4.0
chore: Add NiFi 2.4.0
2 parents 1a76f89 + e36b441 commit e4d2900

2 files changed

Lines changed: 15 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This repository contains a plugin for Apache NiFi in order to add support for th
2929
### Plugin
3030
For building the plugin in ``/authorizer``.
3131

32-
* [Java 8 SDK](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)
32+
* [Java 11 JDK](https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html) (NiFi 1.x) or [Java 21 JDK](https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html) (NiFi 2.x)
3333
* [Maven](https://maven.apache.org/download.cgi)
3434

3535

@@ -43,8 +43,11 @@ For using the test environment in ``/test-env``.
4343

4444
### Building the plugin
4545
To build the plugin go into the ``/authorizer`` folder and execute:
46-
````mvn install````
47-
This builds the ``.nar``-plugin in the ``/target`` folder.
46+
````mvn install````.
47+
This builds the ``.nar``-plugin in the ``/target`` folder for the latest NiFi version. To target a specific version of NiFi use the corresponding maven profile.
48+
````bash
49+
mvn install -Pnifi-1.28.1
50+
````
4851

4952
### Using the plugin
5053

authorizer/pom.xml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,19 @@
174174
</profile>
175175
<profile>
176176
<id>nifi-2.3.0</id>
177+
<properties>
178+
<nifi-framework-api.version>2.3.0</nifi-framework-api.version>
179+
<maven.compiler.source>21</maven.compiler.source>
180+
<maven.compiler.target>21</maven.compiler.target>
181+
</properties>
182+
</profile>
183+
<profile>
184+
<id>nifi-2.4.0</id>
177185
<activation>
178186
<activeByDefault>true</activeByDefault>
179187
</activation>
180188
<properties>
181-
<nifi-framework-api.version>2.3.0</nifi-framework-api.version>
189+
<nifi-framework-api.version>2.4.0</nifi-framework-api.version>
182190
<maven.compiler.source>21</maven.compiler.source>
183191
<maven.compiler.target>21</maven.compiler.target>
184192
</properties>

0 commit comments

Comments
 (0)