Skip to content
This repository was archived by the owner on Sep 19, 2023. It is now read-only.

Commit 09660e1

Browse files
fix: Add common httpclient and oauth dependencies (#391)
* fix: Add common httpclient and oauth dependencies to java-shared-dependencies * fix: httpcore version * fix: address comments
1 parent 00288c1 commit 09660e1

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

pom.xml

+23
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@
6565
<google.core.version>1.95.3</google.core.version>
6666
<google.auth.version>0.26.0</google.auth.version>
6767
<google.http-client.version>1.39.2</google.http-client.version>
68+
<google.oauth-client.version>1.31.5</google.oauth-client.version>
6869
<google.api-client.version>1.32.1</google.api-client.version>
6970
<gson.version>2.8.7</gson.version>
7071
<threeten.version>1.5.1</threeten.version>
@@ -76,6 +77,8 @@
7677
<errorprone.version>2.7.1</errorprone.version>
7778
<jackson.version>2.12.3</jackson.version>
7879
<codec.version>1.15</codec.version>
80+
<httpcomponents.httpcore.version>4.4.14</httpcomponents.httpcore.version>
81+
<httpcomponents.httpclient.version>4.5.13</httpcomponents.httpclient.version>
7982
</properties>
8083

8184
<dependencyManagement>
@@ -114,6 +117,19 @@
114117
<type>pom</type>
115118
<scope>import</scope>
116119
</dependency>
120+
121+
122+
<dependency>
123+
<groupId>org.apache.httpcomponents</groupId>
124+
<artifactId>httpcore</artifactId>
125+
<version>${httpcomponents.httpcore.version}</version>
126+
</dependency>
127+
<dependency>
128+
<groupId>org.apache.httpcomponents</groupId>
129+
<artifactId>httpclient</artifactId>
130+
<version>${httpcomponents.httpclient.version}</version>
131+
</dependency>
132+
117133
<dependency>
118134
<groupId>com.google.api</groupId>
119135
<artifactId>api-common</artifactId>
@@ -155,6 +171,13 @@
155171
<type>pom</type>
156172
<scope>import</scope>
157173
</dependency>
174+
<dependency>
175+
<groupId>com.google.oauth-client</groupId>
176+
<artifactId>google-oauth-client-bom</artifactId>
177+
<version>${google.oauth-client.version}</version>
178+
<type>pom</type>
179+
<scope>import</scope>
180+
</dependency>
158181
<dependency>
159182
<groupId>com.google.api-client</groupId>
160183
<artifactId>google-api-client-bom</artifactId>

0 commit comments

Comments
 (0)