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/06/10 12:36:41 UTC

[uima-async-scaleout] branch refactoring/UIMA-6463-Use-toolchains-to-ensure-compatibility-with-Java-1_8 created (now 7108f3ca)

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-async-scaleout.git


      at 7108f3ca [UIMA-6463] Use toolchains to ensure compatibility with Java 1.8

This branch includes the following new commits:

     new 7108f3ca [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-async-scaleout] 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-async-scaleout.git

commit 7108f3ca950f57a027445a5bb355f10add2aab30
Author: Richard Eckart de Castilho <re...@apache.org>
AuthorDate: Fri Jun 10 14:36:38 2022 +0200

    [UIMA-6463] Use toolchains to ensure compatibility with Java 1.8
    
    - Enable usage of toolchain
    - Fix use of p2 repository
---
 uima-as-parent/pom.xml | 43 ++++++++++++++++++++++++++++++++++---------
 1 file changed, 34 insertions(+), 9 deletions(-)

diff --git a/uima-as-parent/pom.xml b/uima-as-parent/pom.xml
index d56eeb69..25695399 100644
--- a/uima-as-parent/pom.xml
+++ b/uima-as-parent/pom.xml
@@ -123,8 +123,13 @@
         <updatePolicy>never</updatePolicy>
       </snapshots>
     </pluginRepository>
-
+    <pluginRepository>
+      <id>artifactory.openntf.org</id>
+      <name>artifactory.openntf.org</name>
+      <url>https://artifactory.openntf.org/openntf</url>
+    </pluginRepository>
   </pluginRepositories>
+  
   <properties>
     <uimaScmRoot>uima-as</uimaScmRoot>
     <uimaScmProject>${project.artifactId}</uimaScmProject>
@@ -507,15 +512,36 @@
 
 
   <build>
+    <plugins>
+      <plugin>
+        <groupId>org.openntf.maven</groupId>
+        <artifactId>p2-layout-resolver</artifactId>
+        <extensions>true</extensions>
+        <version>1.3.0</version>
+      </plugin>
+    
+      <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>
+    </plugins>
+  
     <pluginManagement>
       <plugins>
-        <plugin>
-          <groupId>org.openntf.maven</groupId>
-          <artifactId>p2-layout-resolver</artifactId>
-          <version>1.3.0</version>
-          <extensions>true</extensions>
-        </plugin>
-      
         <plugin>
           <artifactId>maven-compiler-plugin</artifactId>
           <version>3.1</version>
@@ -603,7 +629,6 @@
           <url>${eclipseP2RepoUrl}</url>
           <layout>p2</layout>
         </repository>
-
       </repositories>
     </profile>
   </profiles>