andygrove commented on pull request #9155:
URL: https://github.com/apache/arrow/pull/9155#issuecomment-772680132


   @kou Sorry, I didn't see your questions until now. Yes, we can build the 
Java artifacts without pushing them. Let me explain more about the Maven 
release process though.
   
   Java binaries are typically just the JAR files, but when we publish to a 
Maven repository we also need to publish Maven artifacts, which are XML files 
containing metadata about the JAR files.
   
   Most projects use `mvn package` to build JAR files. You can also install 
Maven artifacts to the local Maven repo (`~/.m2/repository`) with `mvn install` 
so that they can be discovered by other Maven projects built locally.
   
   We will want to run `mvn publish` to do the actual release to Sonatype or 
wherever. We can just run this from the source release though (note that this 
is different to running `mvn release` which would tag the repo and then call 
`mvn publish` ).
   
   cc @nealrichardson 
   
   


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