How to publish elasticsearch to remote maven repository

Recently, I made some changes to the elasticsearch source code, and plans to push it to the company's maven repository. The maven repository address has been modified to the company's maven address, but Using gradle publish has not been able to push the finished jar package to the maven repository.
I uses the 5.* and 6.* of elasticsearch version.
What do I need to do to publish elasticsearch to maven repository? Thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.