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:59 UTC
[uima-uimaj] 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-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>