From 9130f160bedc915cc6185ad100875257574caabb Mon Sep 17 00:00:00 2001 From: Valery Kharseko Date: Tue, 15 Oct 2024 16:39:24 +0300 Subject: [PATCH] ADD maven-compiler-plugin release for cross compile compatibility (#77) --- Dockerfile | 2 +- pom.xml | 30 +++++++++++++++++++++++++++--- 2 files changed, 28 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 43f5718e3..c8f4d0e15 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM eclipse-temurin:21-jre-jammy MAINTAINER Open Identity Platform Community ENV USER="openidm" -ENV OPENIDM_OPTS="-server -XX:+UseContainerSupport -Dlogback.configurationFile=conf/logging-config.groovy" +ENV OPENIDM_OPTS="-server -XX:+UseContainerSupport --add-exports java.base/com.sun.jndi.ldap=ALL-UNNAMED -Dlogback.configurationFile=conf/logging-config.groovy" ENV OPENIDM_PASSWORD="openidm-admin" ARG VERSION diff --git a/pom.xml b/pom.xml index 95e7e48e3..f0d20cfd1 100644 --- a/pom.xml +++ b/pom.xml @@ -117,8 +117,8 @@ UTF-8 - 1.8 - 1.8 + 8 + 8 @@ -360,6 +360,30 @@ + + set-compiler-release + + [9,) + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + true + 8 + + -XDignore.symbol.file + -Xlint:unchecked + + + + + + + jdk11.options @@ -743,7 +767,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.11.0 + 3.13.0 org.apache.maven.plugins