From c273b02ebee7994d76771745e686032f3da39449 Mon Sep 17 00:00:00 2001 From: exceptionfactory Date: Wed, 4 Aug 2021 12:46:30 -0500 Subject: [PATCH] NIFI-9008 Added Jetty modules to managed dependencies - Updated OWASP dependency check suppressions with jetty-test-helper Signed-off-by: Pierre Villard This closes #5281. --- nifi-dependency-check-maven/suppressions.xml | 11 ++- .../nifi-registry-ranger/pom.xml | 16 ++++ pom.xml | 75 +++++++++++++++++++ 3 files changed, 98 insertions(+), 4 deletions(-) diff --git a/nifi-dependency-check-maven/suppressions.xml b/nifi-dependency-check-maven/suppressions.xml index 0dd3ca647f..0a71a4193d 100644 --- a/nifi-dependency-check-maven/suppressions.xml +++ b/nifi-dependency-check-maven/suppressions.xml @@ -15,10 +15,13 @@ --> - + Suppress false positives for Apache NiFi packages ^pkg:maven/org\.apache\.nifi/.*$ ^cpe:.*$ - \ No newline at end of file + + Suppress false positives for Jetty Test Helper + ^pkg:maven/org\.eclipse\.jetty\.toolchain/jetty-test-helper.*$ + ^cpe:.*$ + + diff --git a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/pom.xml b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/pom.xml index 5d85e1abba..e9edf4bfb4 100644 --- a/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/pom.xml +++ b/nifi-registry/nifi-registry-extensions/nifi-registry-ranger/pom.xml @@ -61,6 +61,22 @@ snakeyaml 1.29 + + + org.eclipse.jetty + jetty-server + ${jetty.version} + + + org.eclipse.jetty + jetty-servlet + ${jetty.version} + + + org.eclipse.jetty + jetty-webapp + ${jetty.version} + \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5f53567397..ba5591957f 100644 --- a/pom.xml +++ b/pom.xml @@ -352,6 +352,81 @@ ${jetty.version} provided + + org.eclipse.jetty + jetty-alpn-client + ${jetty.version} + + + org.eclipse.jetty + jetty-alpn-java-client + ${jetty.version} + + + org.eclipse.jetty + jetty-continuation + ${jetty.version} + + + org.eclipse.jetty + jetty-client + ${jetty.version} + + + org.eclipse.jetty + jetty-http + ${jetty.version} + + + org.eclipse.jetty + jetty-io + ${jetty.version} + + + org.eclipse.jetty + jetty-jaas + ${jetty.version} + + + org.eclipse.jetty + jetty-rewrite + ${jetty.version} + + + org.eclipse.jetty + jetty-runner + ${jetty.version} + + + org.eclipse.jetty + jetty-util + ${jetty.version} + + + org.eclipse.jetty + jetty-util-ajax + ${jetty.version} + + + org.eclipse.jetty.http2 + http2-client + ${jetty.version} + + + org.eclipse.jetty.http2 + http2-common + ${jetty.version} + + + org.eclipse.jetty.http2 + http2-hpack + ${jetty.version} + + + org.eclipse.jetty.http2 + http2-http-client-transport + ${jetty.version} + org.eclipse.jetty apache-jsp