Merge pull request #23 from apache/refactoring/UIMA-6463-Use-toolchains-to-ensure-compatibility-with-Java-1_8
[UIMA-6463] Use toolchains to ensure compatibility with Java 1.8
diff --git a/pom.xml b/pom.xml
index 897283b..4440454 100644
--- a/pom.xml
+++ b/pom.xml
@@ -337,6 +337,12 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-toolchains-plugin</artifactId>
+ <version>3.0.0</version>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
</plugin>