From 8d819fb9bcdec9a88864522084673c023ad211ed Mon Sep 17 00:00:00 2001 From: Valery Kharseko Date: Tue, 15 Oct 2024 16:38:49 +0300 Subject: [PATCH] ADD maven-compiler-plugin release for cross compile compatibility (#49) --- Dockerfile | 2 +- OpenICF-ldap-connector/pom.xml | 26 ++++++++++++++++ pom.xml | 55 ++++++++++++++++++++++++++++++++-- 3 files changed, 79 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 879c7d96..c142df73 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM eclipse-temurin:21-jre-jammy MAINTAINER Open Identity Platform Community ENV USER="openicf" -ENV OPENICF_OPTS="-server -XX:+UseContainerSupport" +ENV OPENICF_OPTS="-server -XX:+UseContainerSupport --add-exports java.base/com.sun.jndi.ldap=ALL-UNNAMED " ARG VERSION diff --git a/OpenICF-ldap-connector/pom.xml b/OpenICF-ldap-connector/pom.xml index 7dbca2b2..de2334e9 100755 --- a/OpenICF-ldap-connector/pom.xml +++ b/OpenICF-ldap-connector/pom.xml @@ -21,6 +21,8 @@ with the fields enclosed by brackets [] replaced by your own identifying information: "Portions Copyrighted [year] [name of copyright owner]" + + Portions Copyrighted 2018-2024 3A Systems, LLC --> 4.0.0 @@ -41,6 +43,30 @@ 1.5 2.0 + + + set-compiler-release + + [9,) + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + + + + + + + + + org.openidentityplatform.openicf.framework diff --git a/pom.xml b/pom.xml index eed0a8f7..19e7d40f 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,29 @@ + 4.0.0 org.openidentityplatform @@ -13,8 +38,8 @@ 2018 https://github.com/OpenIdentityPlatform/OpenICF - 1.8 - 1.8 + 8 + 8 UTF-8 @@ -152,6 +177,30 @@ + + set-compiler-release + + [9,) + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + 8 + + -XDignore.symbol.file + -Xlint:unchecked + + + + + + + jdk17.options @@ -330,7 +379,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 3.6.3 + 3.10.1 attach-javadocs