zengbohan1 opened a new pull request, #1300: URL: https://github.com/apache/dubbo-samples/pull/1300
Migrates the last remaining Spring Boot 2 sample to Boot 3, as tracked in apache/dubbo#13862 (claim comment: https://github.com/apache/dubbo/issues/13862#issuecomment-5421168459). ## Changes - Bump `spring-boot-starter-parent` from 2.7.18 to **3.2.3** in `dubbo-samples-triple-rest-openapi-generator`, aligning the module with the `dubbo-samples-triple-rest` aggregate parent BOM — this was the last sample in the repository still on Spring Boot 2.x - Replace `javax.annotation-api` with `jakarta.annotation-api` and migrate the generated sources from `javax.annotation.Generated` to `jakarta.annotation.Generated` - Enable `useJakartaEe` in the `pom-generator.xml` openapi-generator config (7.16.0 supports it) so future regenerations stay on the jakarta namespace - Update README system requirements: Java 8+ → Java 17+ ## Verification - `mvn clean package -DskipTests` succeeds on JDK 17 (same command as the CI build opts, which also test against `spring-boot.version:3.2.3`) - No `javax` imports remain under `src/` ## Notes - The `contextLoads` test requires a running Zookeeper and is skipped by CI's `-DskipTests` build opts, so it is not affected by this change. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
