# How to build maven packages from gradle command

**URL:** <https://discuss.elastic.co/t/how-to-build-maven-packages-from-gradle-command/170440>\
**Category:** Elasticsearch\
**Created:** [March 1, 2019, 5:49am UTC](https://discuss.elastic.co/t/how-to-build-maven-packages-from-gradle-command/170440 "2019-03-01T05:49:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![weizijun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/weizijun/32/115883_2.png) [@weizijun](https://discuss.elastic.co/u/weizijun)\
**Post date:** [March 1, 2019, 5:49am UTC](https://discuss.elastic.co/t/how-to-build-maven-packages-from-gradle-command/170440/1 "2019-03-01T05:49:56Z")

</div>

Now Elasticsearch use gradle to build. I change some client code, and wander to know how to build maven packages. Who can tell me the command, Thanks!

---

<div class="post-metadata">

**Author:** ![rjernst](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rjernst/32/6363_2.png) [@rjernst](https://discuss.elastic.co/u/rjernst)\
**Post date:** [March 9, 2019, 7:56pm UTC](https://discuss.elastic.co/t/how-to-build-maven-packages-from-gradle-command/170440/2 "2019-03-09T19:56:39Z")

</div>

What do you mean by "maven packages"? Which artifact are you trying to build? And why are you not using the maven artifacts published to maven central?

---

<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:** [April 6, 2019, 7:56pm UTC](https://discuss.elastic.co/t/how-to-build-maven-packages-from-gradle-command/170440/3 "2019-04-06T19:56:39Z")

</div>

Closed on April 6, 2019, 7:56pm UTC

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