Siman-hub opened a new pull request, #13671:
URL: https://github.com/apache/skywalking/pull/13671
### Feature Description
This PR introduces comprehensive support for JDK 25 across the build system,
CI, and Docker release workflows, while maintaining backward compatibility for
JDK 11-21.
**Changes:**
1. **Build Configuration (`pom.xml`):**
* Upgraded `lombok` to `1.18.40` to support JDK 25.
* Configured `maven-compiler-plugin` to explicitly define
`annotationProcessorPaths`. This resolves compilation issues where the
annotation processor was not correctly discovered on newer JDKs.
* **Compatibility:** Verified that `maven.compiler.source` and `target`
remain at `11` to ensure the project can still be built and run on older LTS
versions (11, 17, 21).
2. **CI Matrices (`skywalking.yaml`):**
* Added `25` to the `java-version` matrix for Unit Tests, Integration
Tests, and E2E Tests.
3. **Docker Release (`publish-docker.yaml`):**
* Added a dedicated build step to publish the official image based on
`eclipse-temurin:25-jre`.
4. **Documentation:**
* Updated `How-to-build.md` to include JDK 25 in the supported versions
list.
* Added an entry to `changes/changes.md`.
**Testing:**
* ✅ **JDK 25:** Verified `mvn clean package` passes locally.
* ✅ **JDK 21:** Verified `mvn clean package` passes locally (backward
compatibility confirmed).
### Checklist
- [x] Update the documentation to include this new feature.
- [x] Tests (including UT, IT, E2E) are added to verify the new feature.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]