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:24:58 UTC

[uima-uimaj] branch refactoring/UIMA-6463-Use-toolchains-to-ensure-compatibility-with-Java-1_8 created (now 782a40c90)

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

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


      at 782a40c90 [UIMA-6463] Use toolchains to ensure compatibility with Java 1.8

This branch includes the following new commits:

     new 782a40c90 [UIMA-6463] Use toolchains to ensure compatibility with Java 1.8

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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

Posted by re...@apache.org.
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-uimaj.git

commit 782a40c9047cc7be9097c657f29e81cd0929919f
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Mon May 23 10:24:54 2022 +0200

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

diff --git a/uimaj-parent/pom.xml b/uimaj-parent/pom.xml
index 5fd2e4da8..ad5551e93 100644
--- a/uimaj-parent/pom.xml
+++ b/uimaj-parent/pom.xml
@@ -238,6 +238,24 @@
     </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>
         <!-- See: https://issues.apache.org/jira/browse/UIMA-6349 -->
         <groupId>com.github.siom79.japicmp</groupId>