Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[glassfish-dev] Building GlassFish 7.0.12 with JDK 11?

Hi,

Please can I ask if there is something special that one needs to do to build GlassFish with JDK11? I think it should be able to work as the README indicates it to be so: https://github.com/eclipse-ee4j/glassfish/blob/7.0.12/README.md?plain=1#L26

When I am building with JDK 11, I get a problem that I don't seem to get with JDK 17 (I will redact certain path aspects with the sequence _REDACT_ - hopefully the general issue isn't masked by that):
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:3.1.0:run (do stuff) on project glassfish: An Ant BuildException has occured: The following error occurred while executing this line:
[ERROR] _REDACT_/glassfish/appserver/distributions/glassfish/target/antrun/build-main.xml:9: The archive microprofile-jwt-auth-api.jar doesn't exist
[ERROR] around Ant part ...<jarupdate basedir="_REDACT_/glassfish/appserver/distributions/glassfish/src/main/patches/microprofile-jwt-auth-api" destfile="_REDACT_/glassfish/appserver/distributions/glassfish/target/stage/glassfish7/glassfish/modules/microprofile-jwt-auth-api.jar" includes="META-INF/MANIFEST.MF" />... @ 16:318 in _REDACT_/glassfish/appserver/distributions/glassfish/target/antrun/build-main.xml

I am seeing this kind of issue on the Jakarta Transactions CI system too when trying to build a pull request.

Please can someone help advise?

Thanks,
Tom

Back to the top