Add test.properties to the application classpath to disable the use of direct (main memory) ByteBuffers in Java NIO.
Use of direct ByteBuffers results in the following Exception:
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make public java.lang.Object java.nio.DirectByteBuffer.attachment() accessible: module java.base does not "opens java.nio" to unnamed module @2e0fa5d3
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199)
at java.base/java.lang.reflect.Method.setAccessible(Method.java:193)
at org.apache.geode.internal.net.BufferPool.getPoolableBuffer(BufferPool.java:343)
... 69 more
The 'geode.home' System property configuration was used to resolve the Apache Geode Management (Admin) REST API interface WAR file, which is not resolved the application / test runtime classpath.
The Apache Geode WAR file containing the Web application for the Management (Admin) REST API interface is resolvable from the application / test runtime classpath when the org.apache.geode:geode-web module is on the classpath.
Therefore, the project supplied Apache Geode WAR file is no longer necessary.
Replace all javax package namespace imports with jakarta packages.
Declare the jakarta.annotations:jakarta.annotations-api dependency in the spring-geode-autoconfigure module.
Remove the gradle/maven-pom-editor.gradle build script as this logic (concern) is handled by the MavenPlushingConventionsPlugin.
Clean up associated Gradle project build scripts affected by the Gradle Plugin changes.
Declare the Spring plugins-release repository in buildscript.
Add authentication (credentials) to the Spring plugins-snapshot repository declaration in buildscript.
Redefined the snapshotBuild, milestoneBuild and releaseBuild project extensions properties in terms of the Utils Groovy class from Spring Build Conventions Gradle Plugins.