Skip to content

Commit e36b441

Browse files
committed
update readme to include maven profiles
1 parent d7838ff commit e36b441

1 file changed

Lines changed: 6 additions & 3 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

0 commit comments

Comments
 (0)