# How to publish elasticsearch to remote maven repository

**URL:** <https://discuss.elastic.co/t/how-to-publish-elasticsearch-to-remote-maven-repository/245128>\
**Category:** Elasticsearch\
**Created:** [August 16, 2020, 8:53am UTC](https://discuss.elastic.co/t/how-to-publish-elasticsearch-to-remote-maven-repository/245128 "2020-08-16T08:53:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![calm4wei](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/calm4wei/32/73980_2.png) [@calm4wei](https://discuss.elastic.co/u/calm4wei)\
**Post date:** [August 16, 2020, 8:53am UTC](https://discuss.elastic.co/t/how-to-publish-elasticsearch-to-remote-maven-repository/245128/1 "2020-08-16T08:53:17Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 13, 2020, 8:53am UTC](https://discuss.elastic.co/t/how-to-publish-elasticsearch-to-remote-maven-repository/245128/2 "2020-09-13T08:53:25Z")

</div>

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