This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 5128579cec NIFI-15113 Removed unnecessary Jersey Client references
5128579cec is described below
commit 5128579cec71c54abd32a82aa8028d13486d16b9
Author: exceptionfactory <[email protected]>
AuthorDate: Fri Oct 17 15:34:04 2025 -0500
NIFI-15113 Removed unnecessary Jersey Client references
- Removed reference to internal class from TestAbstractListProcessor
- Removed unused references in web-api and framework modules
Signed-off-by: Pierre Villard <[email protected]>
This closes #10436.
---
.../nifi-extension-utils/nifi-listed-entity/pom.xml | 12 ------------
.../nifi/processor/util/list/TestAbstractListProcessor.java | 3 +--
.../nifi-framework/nifi-framework-components/pom.xml | 5 -----
.../nifi-framework/nifi-framework-core/pom.xml | 4 ----
.../nifi-framework/nifi-web/nifi-web-api/pom.xml | 5 -----
.../nifi-server-nar/src/main/resources/META-INF/NOTICE | 1 -
6 files changed, 1 insertion(+), 29 deletions(-)
diff --git
a/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/pom.xml
b/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/pom.xml
index 35926cfd34..2cc4c5fd35 100644
--- a/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/pom.xml
+++ b/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/pom.xml
@@ -23,8 +23,6 @@
<artifactId>nifi-listed-entity</artifactId>
<packaging>jar</packaging>
<dependencies>
-
-
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record-serialization-service-api</artifactId>
@@ -68,15 +66,5 @@
<version>2.7.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-client</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-common</artifactId>
- <scope>test</scope>
- </dependency>
</dependencies>
</project>
diff --git
a/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/src/test/java/org/apache/nifi/processor/util/list/TestAbstractListProcessor.java
b/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/src/test/java/org/apache/nifi/processor/util/list/TestAbstractListProcessor.java
index efa732ae9b..7b7a05f740 100644
---
a/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/src/test/java/org/apache/nifi/processor/util/list/TestAbstractListProcessor.java
+++
b/nifi-extension-bundles/nifi-extension-utils/nifi-listed-entity/src/test/java/org/apache/nifi/processor/util/list/TestAbstractListProcessor.java
@@ -46,7 +46,6 @@ import org.apache.nifi.state.MockStateManager;
import org.apache.nifi.util.MockFlowFile;
import org.apache.nifi.util.TestRunner;
import org.apache.nifi.util.TestRunners;
-import org.glassfish.jersey.internal.guava.Predicates;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
@@ -488,7 +487,7 @@ public class TestAbstractListProcessor {
final PropertyValue listingFilter =
context.getProperty(LISTING_FILTER);
Predicate<ListableEntity> filter = listingFilter.isSet()
? entity ->
entity.getName().matches(listingFilter.getValue())
- : Predicates.alwaysTrue();
+ : entity -> true;
return
getEntityList().stream().filter(filter).collect(Collectors.toList());
}
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-framework-components/pom.xml
b/nifi-framework-bundle/nifi-framework/nifi-framework-components/pom.xml
index 490831a40d..5115cdbc3e 100644
--- a/nifi-framework-bundle/nifi-framework/nifi-framework-components/pom.xml
+++ b/nifi-framework-bundle/nifi-framework/nifi-framework-components/pom.xml
@@ -84,11 +84,6 @@
<artifactId>nifi-framework-nar-utils</artifactId>
<version>2.7.0-SNAPSHOT</version>
</dependency>
-
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-client</artifactId>
- </dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework-core-api</artifactId>
diff --git a/nifi-framework-bundle/nifi-framework/nifi-framework-core/pom.xml
b/nifi-framework-bundle/nifi-framework/nifi-framework-core/pom.xml
index be7cd44774..0b47c280b7 100644
--- a/nifi-framework-bundle/nifi-framework/nifi-framework-core/pom.xml
+++ b/nifi-framework-bundle/nifi-framework/nifi-framework-core/pom.xml
@@ -204,10 +204,6 @@
<artifactId>nifi-stateless-engine</artifactId>
<version>2.7.0-SNAPSHOT</version>
</dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-client</artifactId>
- </dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
diff --git a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/pom.xml
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/pom.xml
index 361e3f3259..49571fcf25 100644
--- a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/pom.xml
+++ b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/pom.xml
@@ -491,11 +491,6 @@
<artifactId>jakarta.ws.rs-api</artifactId>
<scope>provided</scope> <!-- expected to be provided by parent
classloader -->
</dependency>
- <dependency>
- <groupId>org.glassfish.jersey.core</groupId>
- <artifactId>jersey-client</artifactId>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
diff --git
a/nifi-framework-bundle/nifi-server-nar/src/main/resources/META-INF/NOTICE
b/nifi-framework-bundle/nifi-server-nar/src/main/resources/META-INF/NOTICE
index b020ed683f..95f22f1442 100644
--- a/nifi-framework-bundle/nifi-server-nar/src/main/resources/META-INF/NOTICE
+++ b/nifi-framework-bundle/nifi-server-nar/src/main/resources/META-INF/NOTICE
@@ -134,7 +134,6 @@ Eclipse Public License 2.0
The following binary components are provided under the Eclipse Public License
2.0 (dual-licensed with GPL2+CPE as applicable).
- (EPL 2.0) jersey-client (org.glassfish.jersey.core:jersey-client:jar:4.0.0
- https://jersey.github.io/)
(EPL 2.0) jersey-common (org.glassfish.jersey.core:jersey-common:jar:4.0.0
- https://jersey.github.io/)
(EPL 2.0) jersey-container-servlet-core
(org.glassfish.jersey.containers:jersey-container-servlet-core:jar:4.0.0 -
https://jersey.github.io/)
(EPL 2.0) jersey-entity-filtering
(org.glassfish.jersey.ext:jersey-entity-filtering:jar:4.0.0 -
https://jersey.github.io/)