You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by re...@apache.org on 2022/05/23 08:49:06 UTC

[uima-ruta] 01/01: [UIMA-6463] Use toolchains to ensure compatibility with Java 1.8

This is an automated email from the ASF dual-hosted git repository.

rec pushed a commit to branch refactoring/UIMA-6463-Use-toolchains-to-ensure-compatibility-with-Java-1_8
in repository https://gitbox.apache.org/repos/asf/uima-ruta.git

commit c65b3d5c465b033effc6c5541305a7915e6cbe13
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Mon May 23 10:49:00 2022 +0200

    [UIMA-6463] Use toolchains to ensure compatibility with Java 1.8
    
    - Add toolchain plugin
---
 ruta-parent/pom.xml | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/ruta-parent/pom.xml b/ruta-parent/pom.xml
index 5bb8485a..8c0fb2bf 100644
--- a/ruta-parent/pom.xml
+++ b/ruta-parent/pom.xml
@@ -276,6 +276,24 @@
       </plugins>
     </pluginManagement>
     <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-toolchains-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>toolchain</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <toolchains>
+            <jdk>
+              <version>${maven.compiler.target}</version>
+            </jdk>
+          </toolchains>
+        </configuration>
+      </plugin>
       <plugin>
         <artifactId>maven-resources-plugin</artifactId>
         <executions>