Skip to content

Commit bd1757e

Browse files
authored
avoid dependency convergence error with google-auth-library-oauth2-http, reformat dependencyManagement
1 parent 1908fd5 commit bd1757e

File tree

1 file changed

+25
-36
lines changed
  • tika-pipes/tika-fetchers/tika-fetcher-google

1 file changed

+25
-36
lines changed

tika-pipes/tika-fetchers/tika-fetcher-google/pom.xml

Lines changed: 25 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -35,36 +35,31 @@
3535
<google.api.client.version>2.7.0</google.api.client.version>
3636
</properties>
3737

38-
<dependencyManagement>
39-
<dependencies>
40-
<dependency>
41-
<groupId>com.google.http-client</groupId>
42-
<artifactId>google-http-client</artifactId>
43-
<version>1.45.2</version>
44-
</dependency>
45-
<dependency>
46-
<groupId>com.google.http-client</groupId>
47-
<artifactId>google-http-client-gson</artifactId>
48-
<version>1.45.2</version>
49-
</dependency>
50-
<dependency>
51-
<groupId>io.grpc</groupId>
52-
<artifactId>grpc-context</artifactId>
53-
<version>1.68.2</version>
54-
</dependency>
55-
<dependency>
56-
<groupId>com.google.auth</groupId>
57-
<artifactId>google-auth-library-oauth2-http</artifactId>
58-
<version>1.30.0</version>
59-
</dependency>
60-
<!-- TODO exclude error_prone_annotations after the build works -->
61-
<dependency>
62-
<groupId>com.google.errorprone</groupId>
63-
<artifactId>error_prone_annotations</artifactId>
64-
<version>2.36.0</version>
65-
</dependency>
66-
</dependencies>
67-
</dependencyManagement>
38+
<dependencyManagement>
39+
<dependencies>
40+
<dependency>
41+
<groupId>com.google.http-client</groupId>
42+
<artifactId>google-http-client</artifactId>
43+
<version>1.45.2</version>
44+
</dependency>
45+
<dependency>
46+
<groupId>com.google.http-client</groupId>
47+
<artifactId>google-http-client-gson</artifactId>
48+
<version>1.45.2</version>
49+
</dependency>
50+
<dependency>
51+
<groupId>io.grpc</groupId>
52+
<artifactId>grpc-context</artifactId>
53+
<version>1.68.2</version>
54+
</dependency>
55+
<!-- TODO exclude error_prone_annotations after the build works -->
56+
<dependency>
57+
<groupId>com.google.errorprone</groupId>
58+
<artifactId>error_prone_annotations</artifactId>
59+
<version>2.36.0</version>
60+
</dependency>
61+
</dependencies>
62+
</dependencyManagement>
6863

6964

7065
<dependencies>
@@ -82,12 +77,6 @@
8277
<version>${google.api.client.version}</version>
8378
</dependency>
8479

85-
<dependency>
86-
<groupId>com.google.auth</groupId>
87-
<artifactId>google-auth-library-oauth2-http</artifactId>
88-
<version>1.19.0</version>
89-
</dependency>
90-
9180
<!-- Google Drive API -->
9281
<dependency>
9382
<groupId>com.google.apis</groupId>

0 commit comments

Comments
 (0)