From 45c1136365c63ddec35f25d1651bf94a1e02ef4e 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 | 33 ++++++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 10 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..f5d175db1 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.3.0 @@ -155,10 +171,9 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.1.0 + 3.6.3 ${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 @@ -181,7 +196,7 @@ org.apache.maven.plugins maven-gpg-plugin - 1.6 + 3.1.0 sign-artifacts @@ -195,7 +210,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.7.0 true ossrh