From 0def8c8fff7446721832648345b93fe96299faa2 Mon Sep 17 00:00:00 2001 From: Min Zhu Date: Mon, 15 May 2023 17:38:22 -0400 Subject: [PATCH] chore: cleanup and remove unsed pom entries related to firestore native sample. (#1851) This pr cleans up setups in pom for `spring-cloud-gcp-data-firestore-sample` related to native support (configured with outdated `org.springframework.experimental:spring-native-configuration`). It reverts what's added for the sample in https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/508. The relevant native support module has stopped working for a while and was deleted in #1287. So it should be safe to also remove these setups in sample. --- spring-cloud-gcp-samples/pom.xml | 15 -- .../pom.xml | 147 ------------------ 2 files changed, 162 deletions(-) diff --git a/spring-cloud-gcp-samples/pom.xml b/spring-cloud-gcp-samples/pom.xml index 092b7011ab..600c9ea56d 100644 --- a/spring-cloud-gcp-samples/pom.xml +++ b/spring-cloud-gcp-samples/pom.xml @@ -20,10 +20,6 @@ ${basedir}/.. - - 0.7.0 - 1.18.0 - 3.2.2 9.3 @@ -107,17 +103,6 @@ - - - - org.testcontainers - testcontainers-bom - ${testcontainers.version} - pom - import - - - diff --git a/spring-cloud-gcp-samples/spring-cloud-gcp-data-firestore-sample/pom.xml b/spring-cloud-gcp-samples/spring-cloud-gcp-data-firestore-sample/pom.xml index 1bbf8de696..d3a2bb4a0b 100644 --- a/spring-cloud-gcp-samples/spring-cloud-gcp-data-firestore-sample/pom.xml +++ b/spring-cloud-gcp-samples/spring-cloud-gcp-data-firestore-sample/pom.xml @@ -13,10 +13,6 @@ Spring Framework on Google Cloud Code Sample - Spring Data Firestore spring-cloud-gcp-data-firestore-sample - - native - - @@ -35,10 +31,6 @@ com.google.cloud spring-cloud-gcp-starter-data-firestore - - com.google.cloud - spring-cloud-gcp-autoconfigure - org.springframework.boot @@ -56,31 +48,12 @@ test - - - org.junit.jupiter - junit-jupiter-engine - test - - - - org.testcontainers - junit-jupiter - test - - org.springframework.boot spring-boot-starter-test test - - org.testcontainers - gcloud - test - - org.springframework spring-tx @@ -98,124 +71,4 @@ - - - native - - - it.native - - - - - native - - - - - --enable-url-protocols=http,https - --no-fallback - --no-server - - - - paketobuildpacks/builder:tiny - - - - - org.springframework.experimental - spring-native - ${spring-native.version} - - - com.google.cloud - google-cloud-graalvm-support - ${google-cloud-graalvm-support.version} - - - org.springframework - spring-context-indexer - true - - - - - - - org.springframework.experimental - spring-aot-maven-plugin - ${spring-native.version} - - - com.google.cloud - spring-cloud-gcp-native-support - ${project.version} - - - - - test-generate - - test-generate - - - - generate - - generate - - - - - - org.springframework.boot - spring-boot-maven-plugin - - ${classifier} - - ${builder} - ${project.artifactId}:test - - true - ${native.build.args} - - IF_NOT_PRESENT - - - - - build-docker-image-before-integration-tests - pre-integration-test - - build-image - - - - - - - - - spring-releases - Spring Releases - https://repo.spring.io/release - - false - - - - - - spring-releases - Spring Releases - https://repo.spring.io/release - - false - - - - - -