Skip to content

Commit 8dc66e5

Browse files
committed
TIKA-3770: revert update of jakarta.annotation-api, fails on jdk11+
1 parent 4009fc6 commit 8dc66e5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tika-parent/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,11 @@
376376
<artifactId>commons-io</artifactId>
377377
<version>${commons.io.version}</version>
378378
</dependency>
379+
<!-- java.lang.NoClassDefFoundError: javax/annotation/Resource if updated to 2.1.0 on jdk11+ -->
379380
<dependency>
380381
<groupId>jakarta.annotation</groupId>
381382
<artifactId>jakarta.annotation-api</artifactId>
382-
<version>2.1.0</version>
383+
<version>1.3.5</version>
383384
</dependency>
384385
<dependency>
385386
<groupId>javax.xml.soap</groupId>

tika-parsers/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,11 @@
100100
<artifactId>commons-lang3</artifactId>
101101
<version>${commons.lang3.version}</version>
102102
</dependency>
103+
<!-- java.lang.NoClassDefFoundError: javax/annotation/Resource if updated to 2.1.0 on jdk11+ -->
103104
<dependency>
104105
<groupId>jakarta.annotation</groupId>
105106
<artifactId>jakarta.annotation-api</artifactId>
106-
<version>2.1.0</version>
107+
<version>1.3.5</version>
107108
</dependency>
108109

109110
<!-- Externally Maintained Parsers -->

0 commit comments

Comments
 (0)