Skip to content

Commit a854ff1

Browse files
authored
chore: remove versions of managed dependencies (#7863)
* chore: remove versions of managed dependencies * revert exceptions * update formatting in jobs pom.xml * Update pom.xml
1 parent 68e2318 commit a854ff1

File tree

59 files changed

+58
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+58
-155
lines changed

appengine-java11/guestbook-cloud-firestore/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@
7272
<dependency>
7373
<groupId>com.google.guava</groupId>
7474
<artifactId>guava</artifactId>
75-
<version>31.1-jre</version>
76-
</dependency>
75+
</dependency>
7776

7877
<dependency>
7978
<groupId>javax.servlet</groupId>

appengine-java11/springboot-helloworld/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@
7070
<dependency>
7171
<groupId>org.springframework.boot</groupId>
7272
<artifactId>spring-boot-starter-jetty</artifactId>
73-
<version>2.7.10</version>
74-
</dependency>
73+
</dependency>
7574
</dependencies>
7675

7776
<build>

appengine-java11/tasks-handler/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ limitations under the License.
6262
<dependency>
6363
<groupId>org.springframework.boot</groupId>
6464
<artifactId>spring-boot-starter-web</artifactId>
65-
<version>2.7.10</version>
6665
<exclusions>
6766
<!-- Exclude the Tomcat dependency -->
6867
<exclusion>
@@ -74,8 +73,7 @@ limitations under the License.
7473
<dependency>
7574
<groupId>org.springframework.boot</groupId>
7675
<artifactId>spring-boot-starter-jetty</artifactId>
77-
<version>2.7.10</version>
78-
</dependency>
76+
</dependency>
7977

8078
</dependencies>
8179

appengine-java11/vertx-helloworld/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ limitations under the License.
7474
<dependency>
7575
<groupId>io.vertx</groupId>
7676
<artifactId>vertx-unit</artifactId>
77-
<version>4.4.1</version>
7877
<scope>test</scope>
7978
</dependency>
8079
</dependencies>

appengine-java8/springboot-helloworld/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<groupId>org.springframework.boot</groupId>
3131
<artifactId>spring-boot-starter-web</artifactId>
3232
<version>${spring.boot.version}</version>
33-
<!-- Exclude Tomcat so that it doesn't conflict w/ Jetty server -->
33+
<!-- Exclude Tomcat so that it doesn't conflict w/ Jetty server -->
3434
<exclusions>
3535
<exclusion>
3636
<groupId>org.springframework.boot</groupId>
@@ -50,7 +50,6 @@
5050
<dependency>
5151
<groupId>javax.servlet</groupId>
5252
<artifactId>javax.servlet-api</artifactId>
53-
<version>4.0.1</version>
5453
<scope>provided</scope>
5554
</dependency>
5655

@@ -63,7 +62,6 @@
6362
<dependency>
6463
<groupId>junit</groupId>
6564
<artifactId>junit</artifactId>
66-
<version>4.13.2</version>
6765
<scope>test</scope>
6866
</dependency>
6967
</dependencies>

auth/pom.xml

+2-4
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,11 @@ limitations under the License.
6161
<dependency>
6262
<groupId>com.google.auth</groupId>
6363
<artifactId>google-auth-library-appengine</artifactId>
64-
<version>1.15.0</version>
65-
</dependency>
64+
</dependency>
6665
<dependency>
6766
<groupId>com.google.auth</groupId>
6867
<artifactId>google-auth-library-oauth2-http</artifactId>
69-
<version>1.15.0</version>
70-
</dependency>
68+
</dependency>
7169
<dependency>
7270
<groupId>com.google.cloud</groupId>
7371
<artifactId>google-cloud-apikeys</artifactId>

cloud-sql/mysql/client-side-encryption/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
<dependency>
6464
<groupId>com.google.http-client</groupId>
6565
<artifactId>google-http-client-jackson2</artifactId>
66-
<version>1.42.3</version>
67-
</dependency>
66+
</dependency>
6867
<dependency>
6968
<groupId>com.google.cloud.sql</groupId>
7069
<artifactId>mysql-socket-factory-connector-j-8</artifactId>

cloud-sql/postgres/client-side-encryption/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
<dependency>
6464
<groupId>com.google.http-client</groupId>
6565
<artifactId>google-http-client-jackson2</artifactId>
66-
<version>1.42.3</version>
67-
</dependency>
66+
</dependency>
6867
<dependency>
6968
<groupId>com.google.cloud.sql</groupId>
7069
<artifactId>postgres-socket-factory</artifactId>

cloud-sql/sqlserver/client-side-encryption/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
<dependency>
6464
<groupId>com.google.http-client</groupId>
6565
<artifactId>google-http-client-jackson2</artifactId>
66-
<version>1.42.3</version>
67-
</dependency>
66+
</dependency>
6867
<dependency>
6968
<groupId>com.google.cloud.sql</groupId>
7069
<artifactId>cloud-sql-connector-jdbc-sqlserver</artifactId>

compute/cloud-client/pom.xml

+3-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<artifactId>google-cloud-compute</artifactId>
2525
<groupId>com.google.cloud</groupId>
2626
<version>1.18.0</version>
27-
</dependency>
27+
</dependency>
2828
<dependency>
2929
<artifactId>google-cloud-storage</artifactId>
3030
<groupId>com.google.cloud</groupId>
@@ -36,13 +36,11 @@
3636
<dependency>
3737
<groupId>com.google.api</groupId>
3838
<artifactId>gax</artifactId>
39-
<version>2.23.0</version>
40-
</dependency>
39+
</dependency>
4140
<dependency>
4241
<groupId>com.google.api</groupId>
4342
<artifactId>gax-httpjson</artifactId>
44-
<version>0.108.1</version>
45-
</dependency>
43+
</dependency>
4644

4745

4846
<!-- Test dependencies -->

container-registry/vulnerability-notification-function/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@
4949
<dependency>
5050
<groupId>com.google.code.gson</groupId>
5151
<artifactId>gson</artifactId>
52-
<version>2.10.1</version>
53-
</dependency>
52+
</dependency>
5453

5554
<dependency>
5655
<groupId>org.projectlombok</groupId>

datacatalog/snippets/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@
5151
<dependency>
5252
<groupId>com.google.protobuf</groupId>
5353
<artifactId>protobuf-java-util</artifactId>
54-
<version>3.21.7</version>
55-
</dependency>
54+
</dependency>
5655
<dependency>
5756
<groupId>org.awaitility</groupId>
5857
<artifactId>awaitility</artifactId>

dialogflow/snippets/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@
4747
<dependency>
4848
<groupId>com.google.cloud</groupId>
4949
<artifactId>google-cloud-core</artifactId>
50-
<version>2.12.0</version>
5150
<scope>test</scope>
5251
<classifier>tests</classifier>
5352
</dependency>

document-ai/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@
4141
<dependency>
4242
<groupId>com.google.cloud</groupId>
4343
<artifactId>google-cloud-document-ai</artifactId>
44-
<version>2.14.0</version>
45-
</dependency>
44+
</dependency>
4645
<!-- [END documentai_install_with_bom] -->
4746
<dependency>
4847
<groupId>com.google.cloud</groupId>

eventarc/audit-storage/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ limitations under the License.
5757
<dependency>
5858
<groupId>org.apache.commons</groupId>
5959
<artifactId>commons-lang3</artifactId>
60-
<version>3.12.0</version>
61-
</dependency>
60+
</dependency>
6261
<dependency>
6362
<groupId>org.springframework.boot</groupId>
6463
<artifactId>spring-boot-starter-test</artifactId>
@@ -73,7 +72,6 @@ limitations under the License.
7372
<dependency>
7473
<groupId>junit</groupId>
7574
<artifactId>junit</artifactId>
76-
<version>4.13.2</version>
7775
<scope>test</scope>
7876
</dependency>
7977
</dependencies>

eventarc/generic/pom.xml

+1-2
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ limitations under the License.
5050
<dependency>
5151
<groupId>org.apache.commons</groupId>
5252
<artifactId>commons-lang3</artifactId>
53-
<version>3.12.0</version>
54-
</dependency>
53+
</dependency>
5554
<dependency>
5655
<groupId>org.springframework.boot</groupId>
5756
<artifactId>spring-boot-starter-test</artifactId>

eventarc/pubsub/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ limitations under the License.
5757
<dependency>
5858
<groupId>org.apache.commons</groupId>
5959
<artifactId>commons-lang3</artifactId>
60-
<version>3.12.0</version>
61-
</dependency>
60+
</dependency>
6261
<dependency>
6362
<groupId>org.springframework.boot</groupId>
6463
<artifactId>spring-boot-starter-test</artifactId>
@@ -73,7 +72,6 @@ limitations under the License.
7372
<dependency>
7473
<groupId>junit</groupId>
7574
<artifactId>junit</artifactId>
76-
<version>4.13.2</version>
7775
<scope>test</scope>
7876
</dependency>
7977
</dependencies>

flexible/java-11/springboot-helloworld/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,10 @@
7474
<dependency>
7575
<groupId>org.springframework.boot</groupId>
7676
<artifactId>spring-boot-starter-jetty</artifactId>
77-
<version>2.7.10</version>
78-
</dependency>
77+
</dependency>
7978
<dependency>
8079
<groupId>junit</groupId>
8180
<artifactId>junit</artifactId>
82-
<version>4.13.2</version>
8381
<scope>test</scope>
8482
</dependency>
8583
<dependency>

functions/helloworld/hello-gcs/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
<dependency>
6969
<groupId>com.google.guava</groupId>
7070
<artifactId>guava-testlib</artifactId>
71-
<version>31.1-jre</version>
7271
<scope>test</scope>
7372
</dependency>
7473

@@ -94,8 +93,7 @@
9493
<dependency>
9594
<groupId>com.google.code.gson</groupId>
9695
<artifactId>gson</artifactId>
97-
<version>2.10.1</version>
98-
</dependency>
96+
</dependency>
9997

10098
<!-- Used in ExampleSystemTest AND ExampleIntegrationTest -->
10199
<dependency>

functions/helloworld/hello-pubsub/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
<dependency>
6969
<groupId>com.google.guava</groupId>
7070
<artifactId>guava-testlib</artifactId>
71-
<version>31.1-jre</version>
7271
<scope>test</scope>
7372
</dependency>
7473

@@ -86,8 +85,7 @@
8685
<dependency>
8786
<groupId>com.google.code.gson</groupId>
8887
<artifactId>gson</artifactId>
89-
<version>2.10.1</version>
90-
</dependency>
88+
</dependency>
9189

9290
<!-- Used in ExampleIntegrationTest (to make POST requests -->
9391
<dependency>

functions/imagemagick/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
<dependency>
8181
<groupId>com.google.guava</groupId>
8282
<artifactId>guava-testlib</artifactId>
83-
<version>31.1-jre</version>
8483
<scope>test</scope>
8584
</dependency>
8685
</dependencies>

functions/ocr/ocr-process-image/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
<dependency>
8585
<groupId>com.google.guava</groupId>
8686
<artifactId>guava-testlib</artifactId>
87-
<version>31.1-jre</version>
8887
<scope>test</scope>
8988
</dependency>
9089
</dependencies>

functions/ocr/ocr-save-result/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@
8484
<dependency>
8585
<groupId>com.google.guava</groupId>
8686
<artifactId>guava-testlib</artifactId>
87-
<version>31.1-jre</version>
8887
<scope>test</scope>
8988
</dependency>
9089
</dependencies>

functions/ocr/ocr-translate-text/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@
8080
<dependency>
8181
<groupId>com.google.guava</groupId>
8282
<artifactId>guava-testlib</artifactId>
83-
<version>31.1-jre</version>
8483
<scope>test</scope>
8584
</dependency>
8685
</dependencies>

functions/pubsub/publish-message/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@
7777
<dependency>
7878
<groupId>com.google.guava</groupId>
7979
<artifactId>guava-testlib</artifactId>
80-
<version>31.1-jre</version>
8180
<scope>test</scope>
8281
</dependency>
8382
<dependency>

functions/slack/pom.xml

+2-5
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,12 @@
6060
<dependency>
6161
<groupId>com.google.code.gson</groupId>
6262
<artifactId>gson</artifactId>
63-
<version>2.10.1</version>
64-
</dependency>
63+
</dependency>
6564

6665
<dependency>
6766
<groupId>com.google.http-client</groupId>
6867
<artifactId>google-http-client-jackson2</artifactId>
69-
<version>1.42.3</version>
70-
</dependency>
68+
</dependency>
7169

7270
<dependency>
7371
<groupId>com.google.apis</groupId>
@@ -104,7 +102,6 @@
104102
<dependency>
105103
<groupId>com.google.guava</groupId>
106104
<artifactId>guava-testlib</artifactId>
107-
<version>31.1-jre</version>
108105
<scope>test</scope>
109106
</dependency>
110107
</dependencies>

functions/v2/hello-gcs/pom.xml

-2
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
<dependency>
6262
<groupId>com.google.code.gson</groupId>
6363
<artifactId>gson</artifactId>
64-
<version>2.10.1</version>
6564
<scope>compile</scope>
6665
</dependency>
6766

@@ -80,7 +79,6 @@
8079
<dependency>
8180
<groupId>com.google.guava</groupId>
8281
<artifactId>guava-testlib</artifactId>
83-
<version>31.1-jre</version>
8482
<scope>test</scope>
8583
</dependency>
8684

functions/v2/imagemagick/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
<dependency>
9090
<groupId>com.google.guava</groupId>
9191
<artifactId>guava-testlib</artifactId>
92-
<version>31.1-jre</version>
9392
<scope>test</scope>
9493
</dependency>
9594
</dependencies>

functions/v2/ocr/ocr-process-image/pom.xml

+1-3
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@
8080
<dependency>
8181
<groupId>com.google.code.gson</groupId>
8282
<artifactId>gson</artifactId>
83-
<version>2.10.1</version>
84-
</dependency>
83+
</dependency>
8584
<dependency>
8685
<groupId>com.google.cloud</groupId>
8786
<artifactId>google-cloudevent-types</artifactId>
@@ -104,7 +103,6 @@
104103
<dependency>
105104
<groupId>com.google.guava</groupId>
106105
<artifactId>guava-testlib</artifactId>
107-
<version>31.1-jre</version>
108106
<scope>test</scope>
109107
</dependency>
110108
</dependencies>

0 commit comments

Comments
 (0)