HTHou opened a new pull request, #18499:
URL: https://github.com/apache/iotdb/pull/18499

   ## Description
   
   ### Upgrade the minimum JDK version to 17
   
   - Require JDK 17 through Maven Enforcer and compiler settings.
   - Update GitHub Actions, Jenkins, startup scripts, examples, and 
documentation to use JDK 17.
   - Remove the obsolete JDK 8-only compile workflow.
   
   ### Migrate Java EE APIs from JavaX to Jakarta
   
   - Migrate REST, Servlet, Validation, and related annotations to Jakarta 
namespaces.
   - Upgrade Jersey, Jetty, Swagger/OpenAPI, and Jakarta API dependencies 
accordingly.
   - Suppress generated Thrift Jakarta annotations that are not required at 
runtime.
   
   ### Preserve dev/1.3 compatibility
   
   - Keep the dev/1.3-compatible TsFile, Thrift, Jackson, and ANTLR dependency 
lines instead of introducing master-only 2.x APIs.
   - Adapt the migration to REST and generated-code paths that exist only on 
dev/1.3.
   
   ### Verification
   
   - `mvn -T 1C -pl iotdb-core/datanode -am -DskipTests -Dspotless.skip=true 
compile`
   - `mvn -T 1C -pl iotdb-core/datanode -am -Dspotless.skip=true 
-Dsurefire.failIfNoSpecifiedTests=false 
-Dtest=QueryDataSetHandlerTest,FastLastHandlerTest test`
   - `mvn -T 1C -pl iotdb-core/datanode -am -DskipTests spotless:check`
   - `mvn -P with-cpp -pl iotdb-client/client-cpp -Dspotless.skip=false 
spotless:check`
   - Verified Maven Enforcer and CLI startup reject JDK 11.
   - Verified the DataNode dependency tree contains Jakarta APIs without legacy 
Java EE JavaX APIs.
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] updated documentation for the modified minimum JDK requirement.
   - [x] updated license information for the migrated dependencies.
   - [x] updated unit tests for the migrated REST code paths.
   
   <hr>
   
   ##### Key changed/added classes (or packages if there are too many classes) 
in this PR
   
   - Root Maven build and dependency management
   - CI workflows and startup scripts
   - DataNode REST service and handlers
   - OpenAPI generator configuration


-- 
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]

Reply via email to