Closed maximthomas closed 12 months ago
Would it be possible to build with Java 11? I tried with your PR and it seems to fail with "version 1.5 no longer supported" in project jee-agents-sdk . It works with Java 8.
Thank you!
EDIT: It is enough to just add those two lines to the main pom.xml:
<properties>
...
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
The build then works on Java11 too.
Additional comment - the newly generated package does not contain the necessary dependencies, so it does not install:
EDIT: The issue is caused by jee-agents-distribution/jee-agents-distribution-tomcat-v6/src/main/assembly/tomcat-v6_KitAssembly_Descriptor.xml - it still uses org.forgerock.openam instead of org.openidentityplatform.openam.
Unfortunately even that isn't enough. Now it installs correctly, but it errors at startup. Missing/moved dependency?
14-Sep-2023 17:30:40.080 SEVERE [main] org.apache.tomcat.util.digester.Digester.startElement Begin event threw exception
java.lang.NoClassDefFoundError: org/forgerock/openam/sdk/org/forgerock/util/time/TimeService
at org.forgerock.openam.utils.Time.
@lscorcia hi, you can check the latest commit in the PR
fix build issue #19, rename artifacts to
opendientiyplatform
and remove OpenAM submodule