aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorSimon Steiner <ssteiner@apache.org>2023-05-04 13:24:15 +0100
committerSimon Steiner <ssteiner@apache.org>2023-05-04 13:24:15 +0100
commit1fd128127811cff7c293b62992c341e75b8624b0 (patch)
treebad54b0884aa9543675d903d4930797c32ab3096 /pom.xml
parent3d9416baf3723ee8a7d7dd4433a781a643fe9809 (diff)
downloadxmlgraphics-fop-1fd128127811cff7c293b62992c341e75b8624b0.tar.gz
xmlgraphics-fop-1fd128127811cff7c293b62992c341e75b8624b0.zip
FOP-3132: Link against Java 8 API
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml13
1 files changed, 11 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index fa2f14aae..78bbab6e2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>