kszucs edited a comment on pull request #9155:
URL: https://github.com/apache/arrow/pull/9155#issuecomment-819637688


   As @kou has described, we are going to need a `dev/release/post-XX-java.sh` 
script to call `mvn deploy`. 
   Using the previous mvn release plugin the perform step created a staged 
maven artifact in the apache maven repository (I assume sonatype nexus) which 
we "verified/released" manually from its web UI.
   
   @andygrove will manually calling `mvn deploy` do the same thing? 
   
   I have the following script in mind for staging the mvn artifacts:
   
   ```bash
   # build the jni bindings similarly like the 01-perform.sh does
   mkdir -p cpp/java-build
   pushd cpp/java-build
   cmake \
     -DARROW_GANDIVA=ON \
     -DARROW_GANDIVA_JAVA=ON \
     -DARROW_JNI=ON \
     -DARROW_ORC=ON \
     -DCMAKE_BUILD_TYPE=release \
     -G Ninja \
     ..
   ninja
   popd
   # go in the java subfolder
   pushd java
   # stage the artifacts using both the apache-release and arrow-jni profiles
   mvn -Papache-release,arrow-jni -Darrow.cpp.build.dir=$(realpath 
../cpp/java-build) deploy
   popd
   ```


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

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to