turboFei commented on code in PR #2617:
URL: https://github.com/apache/celeborn/pull/2617#discussion_r1673452523


##########
build/release/release.sh:
##########
@@ -121,6 +121,9 @@ upload_nexus_staging() {
 
   echo "Deploying celeborn-client-mr-shaded_2.12"
   ${PROJECT_DIR}/build/sbt -Pmr "clean;celeborn-client-mr-shaded/publishSigned"
+
+  echo "Deploying celeborn-openapi-client_2.12"
+  ${PROJECT_DIR}/build/mvn clean deploy -DskipTests -pl openapi/openapi-client 
-s "${PROJECT_DIR}/build/release/asf-settings.xml"

Review Comment:
   And for openapi-generator, it will fail during `doc` phase.
   <img width="1029" alt="image" 
src="https://github.com/apache/celeborn/assets/6757692/62e86844-f71a-4c3f-83d5-1caa25969f5d";>
   
   I also tried to use `sbt-openapi-generato` 7.7.0(the latest one) with JDK17.
   The similar issue:
   <img width="955" alt="image" 
src="https://github.com/apache/celeborn/assets/6757692/a23d6abd-8735-48bb-bf95-414136d47bec";>
   
   I also tried that in `unitycatalog` repo, simliar issue.
   <img width="1012" alt="image" 
src="https://github.com/apache/celeborn/assets/6757692/efd5c24c-8c9a-4abb-8ef5-15c768987417";>
   
   So, two workaround:
   
   1. using maven
   2. using sbt and skip the `doc` phase.
   
   
   Prefer to use mvn to deploy due the maven plugin openapi-generator version 
is higher
   
   



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