Skip to content

Commit 091a6a9

Browse files
feat: switch to use java-shared-deps (#323)
1 parent b24d635 commit 091a6a9

File tree

2 files changed

+7
-102
lines changed

2 files changed

+7
-102
lines changed

google-cloud-bigquery/pom.xml

-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,10 @@
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>google-cloud-core</artifactId>
23-
<version>${google.core.version}</version>
2423
</dependency>
2524
<dependency>
2625
<groupId>com.google.cloud</groupId>
2726
<artifactId>google-cloud-core-http</artifactId>
28-
<version>${google.core.version}</version>
2927
</dependency>
3028
<dependency>
3129
<groupId>com.google.cloud</groupId>

pom.xml

+7-100
Original file line numberDiff line numberDiff line change
@@ -64,16 +64,7 @@
6464
<github.global.server>github</github.global.server>
6565
<site.installationModule>google-cloud-bigquery-parent</site.installationModule>
6666
<google.core.version>1.93.4</google.core.version>
67-
<google.api-common.version>1.9.0</google.api-common.version>
68-
<google.common-protos.version>1.18.0</google.common-protos.version>
69-
<gax.version>1.56.0</gax.version>
70-
<grpc.version>1.29.0</grpc.version>
71-
<protobuf.version>3.11.4</protobuf.version>
72-
<junit.version>4.13</junit.version>
73-
<guava.version>29.0-android</guava.version>
74-
<threeten.version>1.4.4</threeten.version>
7567
<javax.annotations.version>1.3.2</javax.annotations.version>
76-
<animal-sniffer.version>1.18</animal-sniffer.version>
7768
<google-api-services-bigquery.version>v2-rev20200415-1.30.9
7869
</google-api-services-bigquery.version>
7970
<auto-value.version>1.7.1</auto-value.version>
@@ -84,101 +75,25 @@
8475
<dependencyManagement>
8576
<dependencies>
8677
<dependency>
87-
<groupId>com.google.code.findbugs</groupId>
88-
<artifactId>jsr305</artifactId>
89-
<version>3.0.2</version>
90-
</dependency>
91-
<dependency>
92-
<groupId>com.google.http-client</groupId>
93-
<artifactId>google-http-client-jackson2</artifactId>
94-
<version>1.35.0</version>
95-
</dependency>
96-
<dependency>
97-
<groupId>com.google.http-client</groupId>
98-
<artifactId>google-http-client</artifactId>
99-
<version>1.35.0</version>
100-
</dependency>
101-
<dependency>
102-
<groupId>com.google.auth</groupId>
103-
<artifactId>google-auth-library-oauth2-http</artifactId>
104-
<version>0.20.0</version>
78+
<groupId>com.google.cloud</groupId>
79+
<artifactId>google-cloud-shared-dependencies</artifactId>
80+
<version>0.3.0</version>
81+
<type>pom</type>
82+
<scope>import</scope>
10583
</dependency>
84+
10685
<dependency>
10786
<groupId>org.checkerframework</groupId>
10887
<artifactId>checker-compat-qual</artifactId>
10988
<version>2.5.5</version>
11089
</dependency>
111-
<dependency>
112-
<groupId>com.google.auto.value</groupId>
113-
<artifactId>auto-value-annotations</artifactId>
114-
<version>${auto-value-annotations.version}</version>
115-
</dependency>
90+
11691
<dependency>
11792
<groupId>com.google.cloud</groupId>
11893
<artifactId>google-cloud-bigquery</artifactId>
11994
<version>1.112.0</version><!-- {x-version-update:google-cloud-bigquery:current} -->
12095
</dependency>
12196

122-
<dependency>
123-
<groupId>io.grpc</groupId>
124-
<artifactId>grpc-bom</artifactId>
125-
<version>${grpc.version}</version>
126-
<type>pom</type>
127-
<scope>import</scope>
128-
</dependency>
129-
<dependency>
130-
<groupId>com.google.api</groupId>
131-
<artifactId>gax-bom</artifactId>
132-
<version>${gax.version}</version>
133-
<type>pom</type>
134-
<scope>import</scope>
135-
</dependency>
136-
<dependency>
137-
<groupId>com.google.guava</groupId>
138-
<artifactId>guava-bom</artifactId>
139-
<version>${guava.version}</version>
140-
<type>pom</type>
141-
<scope>import</scope>
142-
</dependency>
143-
144-
<dependency>
145-
<groupId>com.google.protobuf</groupId>
146-
<artifactId>protobuf-java</artifactId>
147-
<version>${protobuf.version}</version>
148-
</dependency>
149-
<dependency>
150-
<groupId>com.google.api</groupId>
151-
<artifactId>api-common</artifactId>
152-
<version>${google.api-common.version}</version>
153-
</dependency>
154-
<dependency>
155-
<groupId>com.google.api.grpc</groupId>
156-
<artifactId>proto-google-common-protos</artifactId>
157-
<version>${google.common-protos.version}</version>
158-
</dependency>
159-
<dependency>
160-
<groupId>org.threeten</groupId>
161-
<artifactId>threetenbp</artifactId>
162-
<version>${threeten.version}</version>
163-
</dependency>
164-
<dependency>
165-
<groupId>org.codehaus.mojo</groupId>
166-
<artifactId>animal-sniffer-annotations</artifactId>
167-
<version>${animal-sniffer.version}</version>
168-
</dependency>
169-
170-
<dependency>
171-
<groupId>junit</groupId>
172-
<artifactId>junit</artifactId>
173-
<version>${junit.version}</version>
174-
<scope>test</scope>
175-
</dependency>
176-
<dependency>
177-
<groupId>com.google.truth</groupId>
178-
<artifactId>truth</artifactId>
179-
<version>1.0.1</version>
180-
<scope>test</scope>
181-
</dependency>
18297
<dependency>
18398
<groupId>org.easymock</groupId>
18499
<artifactId>easymock</artifactId>
@@ -203,14 +118,6 @@
203118
<artifactId>google-api-services-bigquery</artifactId>
204119
<version>${google-api-services-bigquery.version}</version>
205120
</dependency>
206-
207-
<dependency>
208-
<groupId>com.google.api</groupId>
209-
<artifactId>gax-grpc</artifactId>
210-
<version>${gax.version}</version>
211-
<classifier>testlib</classifier>
212-
<scope>test</scope>
213-
</dependency>
214121
</dependencies>
215122
</dependencyManagement>
216123

0 commit comments

Comments
 (0)