Skip to content

Commit

Permalink
Test with Java 21 (LTS), update Maven plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
don-vip committed Jul 29, 2024
1 parent 9f4ad4c commit 2885d6d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
29 changes: 22 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,26 @@
<javadoc.opts>-Xdoclint:none</javadoc.opts>
</properties>
</profile>
<profile>
<id>java7-19-compile-java7</id>
<activation>
<jdk>[1.7,19)</jdk>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
</properties>
</profile>
<profile>
<id>java20-compile-java8</id>
<activation>
<jdk>[20,)</jdk>
</activation>
<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
</profile>
</profiles>

<build>
Expand Down Expand Up @@ -118,10 +138,6 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand All @@ -136,7 +152,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.2</version>
<version>3.2.2</version>
<configuration>
<archive>
<manifest>
Expand All @@ -155,10 +171,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
<version>3.3.2</version>
<configuration>
<additionalJOption>${javadoc.opts}</additionalJOption>
<source>1.7</source>
<stylesheetfile>${basedir}/src/main/javadoc/stylesheet.css</stylesheetfile>
<show>public</show>
<windowtitle>metadata-extractor - Javadoc - Extracts Exif, IPTC, XMP, ICC and other metadata from image and video files</windowtitle>
Expand Down

0 comments on commit 2885d6d

Please sign in to comment.