summaryrefslogtreecommitdiffstats
path: root/pf4j/pom.xml
diff options
context:
space:
mode:
Diffstat (limited to 'pf4j/pom.xml')
-rw-r--r--pf4j/pom.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/pf4j/pom.xml b/pf4j/pom.xml
index a49aaf4..2232a2d 100644
--- a/pf4j/pom.xml
+++ b/pf4j/pom.xml
@@ -21,6 +21,10 @@
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-proc:none</compilerArgument>
+ <!-- Only required when JAVA_HOME isn't at least Java 9 and when haven't configured the maven-toolchains-plugin -->
+ <jdkToolchain>
+ <version>9</version>
+ </jdkToolchain>
</configuration>
<executions>
<!-- compile everything for Java 8 except the module-info.java -->