From 1b9bfb1bfed11593e08cde8bb072dbfb5980b740 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Mon, 13 Jul 2026 07:08:31 +0200 Subject: Modernize build: Java 21, Tika 3, PDFBox 3, JUnit 5. Bump all dependencies and plugins to current versions. Replace the tika-parsers bundle with a direct PDFBox dependency (we need PDFTextStripper control), add java-diff-utils for the synopsis diff, and add JUnit 5 with AssertJ for testing. Drop unused dependencies (tess4j, Lanterna, term4j, sqlite-jdbc, imageio codecs, annotation libraries) in favour of jspecify. Regenerate the Maven wrapper with the official plugin (Takari is dead) and remove the vestigial Ant wrapper and Tika configuration. Co-Authored-By: Claude Fable 5 Change-Id: I0e1813b3967027cbb0bb978591d345ce138fa0a0 --- pom.xml | 198 ++++++++++++++++++++++++---------------------------------------- 1 file changed, 73 insertions(+), 125 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 3546067..02478cb 100644 --- a/pom.xml +++ b/pom.xml @@ -12,61 +12,54 @@ true - 15 - 15 + 21 UTF-8 UTF-8 - 3.6.2 - - 3.0.0 - 3.8.1 - 3.0.0-M3 - 3.0.0 - 4.2 - 3.2.0 - 3.2.4 - 2.4.1 - - 0.2.0 - 3.0.2 - 1.8 - 1.4.10 - 3.0.4 - 4.3.2 - 1.0.2 - 0.4.0 - 4.5.1 - 1.25 - 3.0.3 - 1.4.0 - 1.3.0 - 3.30.1 - 3.4.1.Final - 1.7.30 + 3.9.0 + + 3.15.0 + 3.11.0 + 3.6.3 + 3.6.3 + 3.5.0 + 3.5.0 + 3.8.0 + 3.5.6 + + 1.28.0 + + 3.27.7 + 4.17 + 3.6.3.Final + 1.0.0 + 5.13.4 + 3.0.8 + 4.7.7 + 2.0.18 + 3.3.1 + + + + org.junit + junit-bom + ${junit.version} + pom + import + + + + - pl.tlinkowski.annotation - pl.tlinkowski.annotation.basic - ${basic-annotations.version} - provided - - - com.google.code.findbugs - jsr305 - ${findbugs-jsr305.version} - provided - - - org.jetbrains.kotlin - kotlin-annotations-jvm - ${kotlin-annotations.version} - provided + org.jspecify + jspecify + ${jspecify.version} @@ -82,97 +75,49 @@ jboss-logging ${jboss-logging.version} - - - org.apache.tika - tika-core - ${tika.version} + org.slf4j + slf4j-jdk14 + ${slf4j.version} - org.apache.tika - tika-bundle - ${tika.version} + org.slf4j + jcl-over-slf4j + ${slf4j.version} + + org.apache.tika - tika-parsers + tika-core ${tika.version} - - - org.slf4j - jcl-over-slf4j - - - org.slf4j - jul-to-slf4j - - + + org.apache.pdfbox - jbig2-imageio - ${jbig2-imageio.version} - - - com.github.jai-imageio - jai-imageio-core - ${jai-imageio-core.version} - - - com.github.jai-imageio - jai-imageio-jpeg2000 - ${jai-imageio-jpeg2000.version} - - - org.xerial - sqlite-jdbc - ${sqlite-jdbc.version} - - - org.slf4j - slf4j-jdk14 - ${slf4j.version} - - - org.slf4j - log4j-over-slf4j - ${slf4j.version} + pdfbox + ${pdfbox.version} + + - net.sourceforge.tess4j - tess4j - ${tess4j.version} - - - org.slf4j - jcl-over-slf4j - - - org.slf4j - log4j-over-slf4j - - - org.slf4j - jul-to-slf4j - - - ch.qos.logback - logback-classic - - + io.github.java-diff-utils + java-diff-utils + ${java-diff-utils.version} - + - io.github.dgroup - term4j - ${term4j.version} + org.junit.jupiter + junit-jupiter + test - com.googlecode.lanterna - lanterna - ${lanterna.version} + org.assertj + assertj-core + ${assertj.version} + test @@ -225,6 +170,12 @@ ${resources-plugin.version} + + + maven-surefire-plugin + ${surefire-plugin.version} + + com.diffplug.spotless @@ -244,11 +195,6 @@ - - maven-antrun-plugin - ${antrun-plugin.version} - - org.apache.maven.plugins maven-enforcer-plugin @@ -282,6 +228,7 @@ org.apache.maven.plugins maven-dependency-plugin + ${dependency-plugin.version} copy-dependencies @@ -293,6 +240,7 @@ ${project.build.directory}/libs + runtime @@ -301,7 +249,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.2.0 + ${jar-plugin.version} -- cgit v1.2.1