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 <r...@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>