diff options
author | Simon Steiner <ssteiner@apache.org> | 2023-05-04 13:24:15 +0100 |
---|---|---|
committer | Simon Steiner <ssteiner@apache.org> | 2023-05-04 13:24:15 +0100 |
commit | 1fd128127811cff7c293b62992c341e75b8624b0 (patch) | |
tree | bad54b0884aa9543675d903d4930797c32ab3096 /pom.xml | |
parent | 3d9416baf3723ee8a7d7dd4433a781a643fe9809 (diff) | |
download | xmlgraphics-fop-1fd128127811cff7c293b62992c341e75b8624b0.tar.gz xmlgraphics-fop-1fd128127811cff7c293b62992c341e75b8624b0.zip |
FOP-3132: Link against Java 8 API
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -18,11 +18,11 @@ <checkstyle.plugin.version>2.14</checkstyle.plugin.version> <commons.io.version>2.11.0</commons.io.version> <commons.logging.version>1.0.4</commons.logging.version> - <compiler.plugin.version>3.1</compiler.plugin.version> + <compiler.plugin.version>3.11.0</compiler.plugin.version> <exec.plugin.version>1.4.0</exec.plugin.version> <findbugs.plugin.version>3.0.4</findbugs.plugin.version> <jar.plugin.version>3.1.1</jar.plugin.version> - <java.version>1.8</java.version> + <java.version>8</java.version> <junit.version>4.11</junit.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.info.reports.plugin.version>2.8</project.info.reports.plugin.version> @@ -132,6 +132,15 @@ </pluginManagement> </build> </profile> + <profile> + <id>java-8-api</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <properties> + <maven.compiler.release>${java.version}</maven.compiler.release> + </properties> + </profile> </profiles> <scm> |