From ce69cf1d6f306f816764d753143b4775508c867b Mon Sep 17 00:00:00 2001 From: Vincent Privat Date: Mon, 29 Jul 2024 20:42:47 +0200 Subject: [PATCH] Test with Java 21 (LTS), update Maven plugins --- .github/workflows/maven.yml | 2 +- pom.xml | 29 ++++++++++++++++++++++------- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index fdb69aaab..c94eac290 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,7 +16,7 @@ jobs: strategy: fail-fast: false matrix: - java: ['7', '8', '11', '17', '18'] + java: ['7', '8', '11', '17', '21'] steps: - uses: actions/checkout@v3 diff --git a/pom.xml b/pom.xml index d1d171aed..80b7d9304 100644 --- a/pom.xml +++ b/pom.xml @@ -88,6 +88,26 @@ -Xdoclint:none + + java7-19-compile-java7 + + [1.7,19) + + + 1.7 + 1.7 + + + + java20-compile-java8 + + [20,) + + + 1.8 + 1.8 + + @@ -118,10 +138,6 @@ org.apache.maven.plugins maven-compiler-plugin 3.8.1 - - 1.7 - 1.7 - org.apache.maven.plugins @@ -136,7 +152,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.1.2 + 3.2.2 @@ -155,10 +171,9 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.1.0 + 3.2.0 ${javadoc.opts} - 1.7 ${basedir}/src/main/javadoc/stylesheet.css public metadata-extractor - Javadoc - Extracts Exif, IPTC, XMP, ICC and other metadata from image and video files