From 6a992ce2f6d57890d207812bdd9c41b2c9b47ff8 Mon Sep 17 00:00:00 2001
From: DaScheid <75588422+dascheid@users.noreply.github.com>
Date: Mon, 10 Jun 2024 17:00:25 +0200
Subject: [PATCH] Add guava dependency
Preparation to use caching-functionality from "com.google.common.cache"
---
jaxws-ri/boms/bom/pom.xml | 1 +
jaxws-ri/bundles/jaxws-rt/pom.xml | 6 ++++++
jaxws-ri/bundles/jaxws-rt/src/main/java/module-info.java | 1 +
jaxws-ri/runtime/rt/pom.xml | 6 ++++++
jaxws-ri/runtime/rt/src/main/java/module-info.java | 1 +
5 files changed, 15 insertions(+)
diff --git a/jaxws-ri/boms/bom/pom.xml b/jaxws-ri/boms/bom/pom.xml
index 40630590..872d4e46 100644
--- a/jaxws-ri/boms/bom/pom.xml
+++ b/jaxws-ri/boms/bom/pom.xml
@@ -48,6 +48,7 @@
2.1.3
2.0.2
2.1.1
+ 33.2.0-jre
diff --git a/jaxws-ri/bundles/jaxws-rt/pom.xml b/jaxws-ri/bundles/jaxws-rt/pom.xml
index 97d7289b..ce7a4111 100644
--- a/jaxws-ri/bundles/jaxws-rt/pom.xml
+++ b/jaxws-ri/bundles/jaxws-rt/pom.xml
@@ -149,6 +149,12 @@
junit
test
+
+
+ com.google.guava
+ guava
+ ${guava.version}
+
diff --git a/jaxws-ri/bundles/jaxws-rt/src/main/java/module-info.java b/jaxws-ri/bundles/jaxws-rt/src/main/java/module-info.java
index 2de1e39b..778a3979 100644
--- a/jaxws-ri/bundles/jaxws-rt/src/main/java/module-info.java
+++ b/jaxws-ri/bundles/jaxws-rt/src/main/java/module-info.java
@@ -46,6 +46,7 @@
requires transitive com.sun.xml.streambuffer;
requires transitive gmbal;
requires transitive org.glassfish.ha.api;
+ requires com.google.common;
exports com.sun.xml.ws.policy;
exports com.sun.xml.ws.policy.sourcemodel;
diff --git a/jaxws-ri/runtime/rt/pom.xml b/jaxws-ri/runtime/rt/pom.xml
index 86e9ade7..3626edee 100644
--- a/jaxws-ri/runtime/rt/pom.xml
+++ b/jaxws-ri/runtime/rt/pom.xml
@@ -126,6 +126,12 @@
junit
test
+
+
+ com.google.guava
+ guava
+ ${guava.version}
+
diff --git a/jaxws-ri/runtime/rt/src/main/java/module-info.java b/jaxws-ri/runtime/rt/src/main/java/module-info.java
index 419fd971..cd958420 100644
--- a/jaxws-ri/runtime/rt/src/main/java/module-info.java
+++ b/jaxws-ri/runtime/rt/src/main/java/module-info.java
@@ -48,6 +48,7 @@
requires transitive com.sun.xml.ws.policy;
requires transitive gmbal;
requires transitive org.glassfish.ha.api;
+ requires com.google.common;
exports com.oracle.webservices.api;
exports com.oracle.webservices.api.databinding;