diff --git a/.github/workflows/pr_build.yaml b/.github/workflows/pr_build.yaml index 0129a4e..11c7354 100644 --- a/.github/workflows/pr_build.yaml +++ b/.github/workflows/pr_build.yaml @@ -23,14 +23,12 @@ jobs: fail-fast: false matrix: include: - - nifi-profile: nifi-1.28.1 - java-version: 11 - nifi-profile: nifi-2.6.0 java-version: 21 - - nifi-profile: nifi-2.7.2 - java-version: 21 - nifi-profile: nifi-2.9.0 java-version: 21 + - nifi-profile: nifi-2.12.0 + java-version: 21 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: diff --git a/README.md b/README.md index ab7ef8a..4796a5f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,8 @@ This repository contains a plugin for Apache NiFi in order to add support for th For building the plugin in `/authorizer`. -- [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) +- [Java 21 JDK](https://www.oracle.com/java/technologies/javase/jdk21-archive-downloads.html) (NiFi 2.x). + Nix users can run: `nix shell nixpkgs#maven nixpkgs#temurin-bin-21`. - Maven, via the bundled `mvnw` wrapper (no separate install needed; the pinned version can be bumped in `.mvn/wrapper/maven-wrapper.properties`) ### Docker @@ -52,7 +53,7 @@ To build the plugin execute the following from the repository root: 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. ```bash -./mvnw --file authorizer/pom.xml install -Pnifi-1.28.1 +./mvnw --file authorizer/pom.xml install -Pnifi-2.12.0 ``` ### Using the plugin diff --git a/authorizer/pom.xml b/authorizer/pom.xml index 9fe594d..6a9e137 100644 --- a/authorizer/pom.xml +++ b/authorizer/pom.xml @@ -7,7 +7,7 @@ org.nifiopa.nifiopa opa-authorizer - 0.6.0 + 0.7.0 nar nifiopa @@ -22,6 +22,7 @@ com.styra opa + 2.1.1 @@ -38,17 +39,20 @@ org.apache.logging.log4j log4j-slf4j-impl - 2.25.3 + + 2.26.1 org.apache.logging.log4j log4j-core - 2.25.4 + + 2.26.1 org.apache.logging.log4j log4j-api - 2.25.3 + + 2.26.1 org.apache.nifi @@ -59,7 +63,8 @@ com.github.ben-manes.caffeine caffeine - 3.2.3 + + 3.3.0 @@ -68,7 +73,8 @@ org.apache.nifi nifi-nar-maven-plugin - 1.3.4 + + 2.4.0 true