From d1662844f8f98f31b1e69d6c88a197eafc35dec9 Mon Sep 17 00:00:00 2001 From: Halil Sener Date: Thu, 11 Jul 2024 11:22:58 +0200 Subject: [PATCH 1/3] Move `optional` tags to module POMs --- extended/pom.xml | 5 +++++ pom.xml | 12 +++++++++--- spring/pom.xml | 7 ++++++- util/pom.xml | 5 ++++- 4 files changed, 24 insertions(+), 5 deletions(-) diff --git a/extended/pom.xml b/extended/pom.xml index a32d1aaef7..bb70936c34 100644 --- a/extended/pom.xml +++ b/extended/pom.xml @@ -34,6 +34,11 @@ client-java-api-fluent ${project.version} + + io.prometheus + simpleclient + ${prometheus.client.optional} + org.apache.commons commons-lang3 diff --git a/pom.xml b/pom.xml index 79eb95b8ad..5198e4cd31 100644 --- a/pom.xml +++ b/pom.xml @@ -69,6 +69,15 @@ 0.16.0 0.10.2 + + true + true + true + true + true 48540ECBBF00A28EACCF04E720FD12AFB0C9EBA9 @@ -185,19 +194,16 @@ org.springframework.boot spring-boot-actuator ${spring.boot.version} - true io.prometheus simpleclient ${prometheus.client.version} - true io.prometheus simpleclient_httpserver ${prometheus.client.version} - true com.google.code.gson diff --git a/spring/pom.xml b/spring/pom.xml index 1237846d05..cef8d9d8cf 100644 --- a/spring/pom.xml +++ b/spring/pom.xml @@ -26,7 +26,11 @@ client-java-extended ${project.version} - + + io.prometheus + simpleclient + ${prometheus.client.optional} + org.springframework.boot spring-boot @@ -38,6 +42,7 @@ org.springframework.boot spring-boot-actuator + ${org.springframework.boot.spring-boot-actuator.optional} com.github.ben-manes.caffeine diff --git a/util/pom.xml b/util/pom.xml index 732fea4288..55177c0c4b 100644 --- a/util/pom.xml +++ b/util/pom.xml @@ -15,10 +15,12 @@ io.prometheus simpleclient + ${prometheus.client.optional} io.prometheus simpleclient_httpserver + ${prometheus.client.optional} io.kubernetes @@ -65,6 +67,7 @@ com.amazonaws aws-java-sdk-sts + ${com.amazonaws.aws-java-sdk-sts.optional} ch.qos.logback @@ -86,7 +89,7 @@ com.google.auth google-auth-library-oauth2-http - true + ${com.google.auth.google-auth-library-oauth2-http.optional} From b42e50dfd6d2718d2801c48a0396cccb315e1384 Mon Sep 17 00:00:00 2001 From: Babak Date: Tue, 13 Aug 2024 07:11:54 -0700 Subject: [PATCH 2/3] use optional variables --- pom.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 5198e4cd31..6a1115b998 100644 --- a/pom.xml +++ b/pom.xml @@ -77,6 +77,8 @@ true true true + true + true true @@ -152,13 +154,13 @@ com.microsoft.azure adal4j 1.6.7 - true + ${com.microsoft.azure.adal4j.optional} com.amazonaws aws-java-sdk-sts 1.12.746 - true + ${com.amazonaws.aws-java-sdk-sts.optional} com.google.protobuf @@ -254,13 +256,13 @@ com.google.auth google-auth-library-oauth2-http 1.23.0 - true + ${com.google.auth.google-auth-library-oauth2-http.optional} com.fasterxml.jackson.core jackson-annotations 2.17.1 - true + ${com.fasterxml.jackson.core.jackson-annotations.optional} From 3601df90859c33c0628a05ea58c3a06acebacb84 Mon Sep 17 00:00:00 2001 From: Babak Date: Tue, 13 Aug 2024 07:12:27 -0700 Subject: [PATCH 3/3] Fix parent pom version for fluent-gen --- fluent-gen/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluent-gen/pom.xml b/fluent-gen/pom.xml index 5d669f287f..9277d0d2d3 100644 --- a/fluent-gen/pom.xml +++ b/fluent-gen/pom.xml @@ -10,7 +10,7 @@ io.kubernetes client-java-parent - 21.0.0-legacy-SNAPSHOT + 21.0.1-legacy-SNAPSHOT ../pom.xml