Skip to content

Commit 7fa37a2

Browse files
authored
chore: remove unused dependencies (#7927)
* chore: remove unused dependencies * updates after testing * more updates * revert workloadgenerator changes * linting * revert aiplatform * revert iot manager * linting * linting
1 parent 69fe7dd commit 7fa37a2

File tree

54 files changed

+46
-374
lines changed

Some content is hidden

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

54 files changed

+46
-374
lines changed

appengine-java11/quarkus-helloworld/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ limitations under the License.
4040
<dependency>
4141
<groupId>io.quarkus</groupId>
4242
<artifactId>quarkus-bom</artifactId>
43-
<version>2.16.5.Final</version>
43+
<version>2.16.6.Final</version>
4444
<type>pom</type>
4545
<scope>import</scope>
4646
</dependency>

auth/pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ limitations under the License.
7373
<artifactId>google-cloud-apikeys</artifactId>
7474
</dependency>
7575
<!-- END dependencies -->
76-
<dependency>
77-
<groupId>commons-io</groupId>
78-
<artifactId>commons-io</artifactId>
79-
<version>2.11.0</version>
80-
</dependency>
8176
<dependency>
8277
<groupId>junit</groupId>
8378
<artifactId>junit</artifactId>

bigtable/beam/bulk-data-generator/pom.xml

-15
Original file line numberDiff line numberDiff line change
@@ -52,26 +52,11 @@
5252
</dependencyManagement>
5353

5454
<dependencies>
55-
<dependency>
56-
<groupId>org.apache.beam</groupId>
57-
<artifactId>beam-runners-direct-java</artifactId>
58-
<version>${apache_beam.version}</version>
59-
</dependency>
6055
<dependency>
6156
<groupId>org.apache.beam</groupId>
6257
<artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
6358
<version>${apache_beam.version}</version>
6459
</dependency>
65-
<dependency>
66-
<groupId>org.apache.beam</groupId>
67-
<artifactId>beam-sdks-java-extensions-google-cloud-platform-core</artifactId>
68-
<version>${apache_beam.version}</version>
69-
</dependency>
70-
71-
<dependency>
72-
<groupId>com.google.guava</groupId>
73-
<artifactId>guava</artifactId>
74-
</dependency>
7560

7661
<dependency>
7762
<groupId>com.google.cloud.bigtable</groupId>

bigtable/beam/helloworld/pom.xml

+8-15
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,6 @@
6464
<artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
6565
<version>${apache_beam.version}</version>
6666
</dependency>
67-
<dependency>
68-
<groupId>org.apache.beam</groupId>
69-
<artifactId>beam-sdks-java-extensions-google-cloud-platform-core
70-
</artifactId>
71-
<version>${apache_beam.version}</version>
72-
</dependency>
7367

7468
<!-- [START bigtable_beam_connector_dependency] -->
7569
<dependency>
@@ -90,17 +84,16 @@
9084
<artifactId>truth</artifactId>
9185
<version>1.1.3</version>
9286
<scope>test</scope>
93-
<exclusions>
94-
<exclusion>
95-
<groupId>com.google.guava</groupId>
96-
<artifactId>guava</artifactId>
97-
</exclusion>
98-
</exclusions>
9987
</dependency>
100-
<!-- manually declare guava to override version from shared-configuration -->
10188
<dependency>
102-
<groupId>com.google.guava</groupId>
103-
<artifactId>guava</artifactId>
89+
<artifactId>slf4j-api</artifactId>
90+
<groupId>org.slf4j</groupId>
91+
<version>2.0.7</version>
92+
</dependency>
93+
<dependency>
94+
<artifactId>slf4j-simple</artifactId>
95+
<groupId>org.slf4j</groupId>
96+
<version>2.0.7</version>
10497
</dependency>
10598
</dependencies>
10699
</project>

bigtable/beam/keyviz-art/pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,6 @@
6464
<version>${apache_beam.version}</version>
6565
</dependency>
6666

67-
<dependency>
68-
<groupId>com.google.guava</groupId>
69-
<artifactId>guava</artifactId>
70-
</dependency>
71-
7267
<dependency>
7368
<groupId>com.google.cloud.bigtable</groupId>
7469
<artifactId>bigtable-hbase-beam</artifactId>

bigtable/use-cases/fraudDetection/pom.xml

-15
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,11 @@
99
<version>1.0-SNAPSHOT</version>
1010

1111
<dependencies>
12-
<dependency>
13-
<artifactId>beam-runners-direct-java</artifactId>
14-
<groupId>org.apache.beam</groupId>
15-
<version>${apache_beam.version}</version>
16-
</dependency>
1712
<dependency>
1813
<artifactId>beam-runners-google-cloud-dataflow-java</artifactId>
1914
<groupId>org.apache.beam</groupId>
2015
<version>${apache_beam.version}</version>
2116
</dependency>
22-
<dependency>
23-
<artifactId>beam-sdks-java-extensions-google-cloud-platform-core
24-
</artifactId>
25-
<groupId>org.apache.beam</groupId>
26-
<version>${apache_beam.version}</version>
27-
</dependency>
2817
<dependency>
2918
<artifactId>bigtable-hbase-beam</artifactId>
3019
<groupId>com.google.cloud.bigtable</groupId>
@@ -38,10 +27,6 @@
3827
<artifactId>google-cloud-storage</artifactId>
3928
<groupId>com.google.cloud</groupId>
4029
</dependency>
41-
<dependency>
42-
<artifactId>google-api-client</artifactId>
43-
<groupId>com.google.api-client</groupId>
44-
</dependency>
4530
<dependency>
4631
<artifactId>junit</artifactId>
4732
<groupId>junit</groupId>

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

-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@
5555
<artifactId>google-api-services-cloudkms</artifactId>
5656
<version>v1-rev20230407-2.0.0</version>
5757
</dependency>
58-
<dependency>
59-
<groupId>com.google.http-client</groupId>
60-
<artifactId>google-http-client-jackson2</artifactId>
61-
</dependency>
6258
<dependency>
6359
<groupId>com.google.cloud.sql</groupId>
6460
<artifactId>mysql-socket-factory-connector-j-8</artifactId>

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

+2-6
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,8 @@
5353
<dependency>
5454
<groupId>com.google.apis</groupId>
5555
<artifactId>google-api-services-cloudkms</artifactId>
56-
<version>v1-rev20221028-2.0.0</version>
57-
</dependency>
58-
<dependency>
59-
<groupId>com.google.http-client</groupId>
60-
<artifactId>google-http-client-jackson2</artifactId>
61-
</dependency>
56+
<version>v1-rev20230407-2.0.0</version>
57+
</dependency>
6258
<dependency>
6359
<groupId>com.google.cloud.sql</groupId>
6460
<artifactId>postgres-socket-factory</artifactId>

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

+1-5
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,7 @@
5454
<groupId>com.google.apis</groupId>
5555
<artifactId>google-api-services-cloudkms</artifactId>
5656
<version>v1-rev20230407-2.0.0</version>
57-
</dependency>
58-
<dependency>
59-
<groupId>com.google.http-client</groupId>
60-
<artifactId>google-http-client-jackson2</artifactId>
61-
</dependency>
57+
</dependency>
6258
<dependency>
6359
<groupId>com.google.cloud.sql</groupId>
6460
<artifactId>cloud-sql-connector-jdbc-sqlserver</artifactId>

compute/cloud-client/pom.xml

+10-17
Original file line numberDiff line numberDiff line change
@@ -23,26 +23,25 @@
2323
<dependency>
2424
<artifactId>google-cloud-compute</artifactId>
2525
<groupId>com.google.cloud</groupId>
26-
</dependency>
26+
</dependency>
27+
<dependency>
28+
<groupId>com.google.api</groupId>
29+
<artifactId>gax</artifactId>
30+
</dependency>
31+
32+
33+
<!-- Test dependencies -->
2734
<dependency>
2835
<artifactId>google-cloud-storage</artifactId>
2936
<groupId>com.google.cloud</groupId>
37+
<scope>test</scope>
3038
</dependency>
3139
<dependency>
3240
<artifactId>google-cloud-kms</artifactId>
3341
<groupId>com.google.cloud</groupId>
42+
<scope>test</scope>
3443
</dependency>
35-
<dependency>
36-
<groupId>com.google.api</groupId>
37-
<artifactId>gax</artifactId>
38-
</dependency>
39-
<dependency>
40-
<groupId>com.google.api</groupId>
41-
<artifactId>gax-httpjson</artifactId>
42-
</dependency>
43-
4444

45-
<!-- Test dependencies -->
4645
<dependency>
4746
<artifactId>truth</artifactId>
4847
<groupId>com.google.truth</groupId>
@@ -62,12 +61,6 @@
6261
Without these, mvn surefire skips these methods and leads to concurrency
6362
issues.
6463
-->
65-
<dependency>
66-
<groupId>org.junit.jupiter</groupId>
67-
<artifactId>junit-jupiter-api</artifactId>
68-
<version>5.8.2</version>
69-
<scope>test</scope>
70-
</dependency>
7164
<dependency>
7265
<groupId>org.junit.jupiter</groupId>
7366
<artifactId>junit-jupiter-engine</artifactId>

compute/cmdline/pom.xml

-4
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@ limitations under the License.
6060
<artifactId>google-api-services-compute</artifactId>
6161
<version>${project.compute.version}</version>
6262
</dependency>
63-
<dependency>
64-
<groupId>com.google.api-client</groupId>
65-
<artifactId>google-api-client-gson</artifactId>
66-
</dependency>
6763
</dependencies>
6864

6965
<build>

container-registry/container-analysis/pom.xml

-20
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@
5151
<groupId>io.grafeas</groupId>
5252
<artifactId>grafeas</artifactId>
5353
</dependency>
54-
<dependency>
55-
<groupId>com.google.cloud</groupId>
56-
<artifactId>google-cloud-core</artifactId>
57-
</dependency>
5854
<dependency>
5955
<groupId>com.google.cloud</groupId>
6056
<artifactId>google-cloud-core-grpc</artifactId>
@@ -63,22 +59,6 @@
6359
<groupId>com.google.cloud</groupId>
6460
<artifactId>google-cloud-pubsub</artifactId>
6561
</dependency>
66-
67-
<dependency>
68-
<groupId>commons-cli</groupId>
69-
<artifactId>commons-cli</artifactId>
70-
<version>1.5.0</version>
71-
</dependency>
72-
<dependency>
73-
<groupId>commons-lang</groupId>
74-
<artifactId>commons-lang</artifactId>
75-
<version>2.6</version>
76-
</dependency>
77-
<dependency>
78-
<groupId>io.netty</groupId>
79-
<artifactId>netty-tcnative-boringssl-static</artifactId>
80-
<version>2.0.50.Final</version>
81-
</dependency>
8262
<!-- [END dependencies] -->
8363
<dependency>
8464
<groupId>junit</groupId>

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

-5
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,6 @@
4646
<artifactId>google-cloud-containeranalysis</artifactId>
4747
</dependency>
4848

49-
<dependency>
50-
<groupId>com.google.code.gson</groupId>
51-
<artifactId>gson</artifactId>
52-
</dependency>
53-
5449
<dependency>
5550
<groupId>org.projectlombok</groupId>
5651
<artifactId>lombok</artifactId>

dialogflow/basic-webhook/pom.xml

-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
</dependencyManagement>
4646

4747
<dependencies>
48-
<dependency>
49-
<groupId>com.google.cloud</groupId>
50-
<artifactId>google-cloud-dialogflow-cx</artifactId>
51-
</dependency>
5248
<dependency>
5349
<groupId>com.google.code.gson</groupId>
5450
<artifactId>gson</artifactId>

endpoints/multiple-versions/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
<dependency>
7575
<groupId>com.google.collections</groupId>
7676
<artifactId>google-collections</artifactId>
77-
<version>1.0-rc2</version>
77+
<version>1.0</version>
7878
</dependency>
7979
</dependencies>
8080

eventarc/audit-storage/pom.xml

-4
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ limitations under the License.
5555
<groupId>org.springframework.boot</groupId>
5656
<artifactId>spring-boot-starter-web</artifactId>
5757
</dependency>
58-
<dependency>
59-
<groupId>org.apache.commons</groupId>
60-
<artifactId>commons-lang3</artifactId>
61-
</dependency>
6258
<dependency>
6359
<groupId>org.springframework.boot</groupId>
6460
<artifactId>spring-boot-starter-test</artifactId>

eventarc/generic/pom.xml

+2-6
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,6 @@ limitations under the License.
4848
<groupId>org.springframework.boot</groupId>
4949
<artifactId>spring-boot-starter-web</artifactId>
5050
</dependency>
51-
<dependency>
52-
<groupId>org.apache.commons</groupId>
53-
<artifactId>commons-lang3</artifactId>
54-
</dependency>
5551
<dependency>
5652
<groupId>org.springframework.boot</groupId>
5753
<artifactId>spring-boot-starter-test</artifactId>
@@ -61,8 +57,8 @@ limitations under the License.
6157
<groupId>org.json</groupId>
6258
<artifactId>json</artifactId>
6359
<version>20230227</version>
64-
</dependency>
65-
<dependency>
60+
</dependency>
61+
<dependency>
6662
<groupId>com.google.truth</groupId>
6763
<artifactId>truth</artifactId>
6864
<version>1.1.3</version>

healthcare/v1/pom.xml

+1-4
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
<plugin>
2727
<groupId>org.apache.maven.plugins</groupId>
2828
<artifactId>maven-compiler-plugin</artifactId>
29+
<version>3.11.0</version>
2930
<configuration>
3031
<source>11</source>
3132
<target>11</target>
@@ -52,10 +53,6 @@
5253
<maven.compiler.source>11</maven.compiler.source>
5354
</properties>
5455

55-
<prerequisites>
56-
<maven>3.5</maven>
57-
</prerequisites>
58-
5956
<!-- [START dependencies] -->
6057
<!-- Using libraries-bom to manage versions.
6158
See https://github.com/GoogleCloudPlatform/cloud-opensource-java/wiki/The-Google-Cloud-Platform-Libraries-BOM -->

iam/api-client/pom.xml

-5
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,6 @@
8484
<artifactId>google-cloud-policy-troubleshooter</artifactId>
8585
</dependency>
8686
<!-- [END troubleshooter_java_dependency]-->
87-
<dependency>
88-
<groupId>commons-cli</groupId>
89-
<artifactId>commons-cli</artifactId>
90-
<version>1.5.0</version>
91-
</dependency>
9287

9388
<!-- Test dependencies -->
9489
<dependency>

iam/snippets/pom.xml

+1-19
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,12 @@
2222
<version>1.0-SNAPSHOT</version>
2323

2424
<dependencies>
25-
26-
<dependency>
27-
<groupId>com.google.apis</groupId>
28-
<artifactId>google-api-services-cloudresourcemanager</artifactId>
29-
<version>v3-rev20230403-2.0.0</version>
30-
</dependency>
31-
<dependency>
32-
<groupId>com.google.auth</groupId>
33-
<artifactId>google-auth-library-oauth2-http</artifactId>
34-
</dependency>
35-
<dependency>
36-
<groupId>com.google.http-client</groupId>
37-
<artifactId>google-http-client-jackson2</artifactId>
38-
</dependency>
25+
3926
<dependency>
4027
<groupId>com.google.cloud</groupId>
4128
<artifactId>google-iam-policy</artifactId>
4229
<scope>compile</scope>
4330
</dependency>
44-
<dependency>
45-
<groupId>com.google.apis</groupId>
46-
<artifactId>google-api-services-iamcredentials</artifactId>
47-
<version>v1-rev20211203-2.0.0</version>
48-
</dependency>
4931

5032
<!-- Test dependencies -->
5133
<dependency>

0 commit comments

Comments
 (0)