Skip to content

Commit 3bd239c

Browse files
authored
remove error_prone_annotations
1 parent bd1757e commit 3bd239c

File tree

1 file changed

+40
-5
lines changed
  • tika-pipes/tika-fetchers/tika-fetcher-google

1 file changed

+40
-5
lines changed

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

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,16 +52,14 @@
5252
<artifactId>grpc-context</artifactId>
5353
<version>1.68.2</version>
5454
</dependency>
55-
<!-- TODO exclude error_prone_annotations after the build works -->
5655
<dependency>
57-
<groupId>com.google.errorprone</groupId>
58-
<artifactId>error_prone_annotations</artifactId>
59-
<version>2.36.0</version>
56+
<groupId>com.google.auth</groupId>
57+
<artifactId>google-auth-library-credentials</artifactId>
58+
<version>1.30.0</version>
6059
</dependency>
6160
</dependencies>
6261
</dependencyManagement>
6362

64-
6563
<dependencies>
6664
<!-- Apache Tika Core -->
6765
<dependency>
@@ -75,6 +73,28 @@
7573
<groupId>com.google.api-client</groupId>
7674
<artifactId>google-api-client</artifactId>
7775
<version>${google.api.client.version}</version>
76+
<exclusions>
77+
<exclusion>
78+
<groupId>com.google.auth</groupId>
79+
<artifactId>google-auth-library-oauth2-http</artifactId>
80+
</exclusion>
81+
</exclusions>
82+
</dependency>
83+
84+
<dependency>
85+
<groupId>com.google.auth</groupId>
86+
<artifactId>google-auth-library-oauth2-http</artifactId>
87+
<version>1.30.0</version>
88+
<exclusions>
89+
<exclusion>
90+
<groupId>com.google.errorprone</groupId>
91+
<artifactId>error_prone_annotations</artifactId>
92+
</exclusion>
93+
<exclusion>
94+
<groupId>com.google.j2objc</groupId>
95+
<artifactId>j2objc-annotations</artifactId>
96+
</exclusion>
97+
</exclusions>
7898
</dependency>
7999

80100
<!-- Google Drive API -->
@@ -83,6 +103,21 @@
83103
<artifactId>google-api-services-drive</artifactId>
84104
<version>v3-rev20241027-2.0.0</version>
85105
</dependency>
106+
107+
<dependency>
108+
<groupId>com.google.guava</groupId>
109+
<artifactId>guava</artifactId>
110+
<exclusions>
111+
<exclusion>
112+
<groupId>com.google.errorprone</groupId>
113+
<artifactId>error_prone_annotations</artifactId>
114+
</exclusion>
115+
<exclusion>
116+
<groupId>com.google.j2objc</groupId>
117+
<artifactId>j2objc-annotations</artifactId>
118+
</exclusion>
119+
</exclusions>
120+
</dependency>
86121

87122
<!-- Logging -->
88123
<dependency>

0 commit comments

Comments
 (0)