Skip to content

Commit

Permalink
TIKA-3770: revert update of jakarta.annotation-api, fails on jdk11+
Browse files Browse the repository at this point in the history
  • Loading branch information
THausherr committed May 20, 2022
1 parent 4009fc6 commit 8dc66e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tika-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,11 @@
<artifactId>commons-io</artifactId>
<version>${commons.io.version}</version>
</dependency>
<!-- java.lang.NoClassDefFoundError: javax/annotation/Resource if updated to 2.1.0 on jdk11+ -->
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.1.0</version>
<version>1.3.5</version>
</dependency>
<dependency>
<groupId>javax.xml.soap</groupId>
Expand Down
3 changes: 2 additions & 1 deletion tika-parsers/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,11 @@
<artifactId>commons-lang3</artifactId>
<version>${commons.lang3.version}</version>
</dependency>
<!-- java.lang.NoClassDefFoundError: javax/annotation/Resource if updated to 2.1.0 on jdk11+ -->
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>2.1.0</version>
<version>1.3.5</version>
</dependency>

<!-- Externally Maintained Parsers -->
Expand Down

0 comments on commit 8dc66e5

Please sign in to comment.