# Kibana build using maven

**URL:** <https://discuss.elastic.co/t/kibana-build-using-maven/179516>\
**Category:** Kibana\
**Created:** [May 3, 2019, 10:37am UTC](https://discuss.elastic.co/t/kibana-build-using-maven/179516 "2019-05-03T10:37:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Post date:** [May 3, 2019, 10:37am UTC](https://discuss.elastic.co/t/kibana-build-using-maven/179516/1 "2019-05-03T10:37:01Z")

</div>

Hi

I build kibana using maven grunt plugin and assembled the output as tar gz. When I open my tar gz, I could see a directory called ""PaxHeader" inside each directory

What am I missing here??

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [May 3, 2019, 6:10pm UTC](https://discuss.elastic.co/t/kibana-build-using-maven/179516/2 "2019-05-03T18:10:27Z")

</div>

Hi, can you provide some more information about your environment, directories, and grunt/maven configuration?

---

<div class="post-metadata">

**Author:** ![RAM\_NATHAN](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ram_nathan/32/50393_2.png) [@RAM\_NATHAN](https://discuss.elastic.co/u/RAM_NATHAN)\
**Post date:** [May 8, 2019, 11:55am UTC](https://discuss.elastic.co/t/kibana-build-using-maven/179516/3 "2019-05-08T11:55:02Z")

</div>

Thanks for the reply.I found the issue. It was due to tar using posix longfile format. When I try to untar posiz formatted tar gz, I'm facing error. Ideally I want a gnu formatted kibana tar gz. When I try manually below command,

tar --format=gnu -zchf /root/common/kibana-5.6.13-SNAPSHOT-linux-x86\_64.tar.gz kibana-5.6.13-SNAPSHOT-linux-x86\_64

all are working fine including untar. So my question how to specify "format=gnu" in while building kibana. I saw that kibana is using tasks/build/archives.js to build kibana tar. How to specify additional "format" argument there??

---

<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:** [June 5, 2019, 11:55am UTC](https://discuss.elastic.co/t/kibana-build-using-maven/179516/4 "2019-06-05T11:55:07Z")

</div>

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