# Un jar-jar elasticsearch project

**URL:** <https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077>\
**Category:** Elasticsearch\
**Created:** [December 6, 2011, 2:16pm UTC](https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077 "2011-12-06T14:16:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![avasilenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avasilenko/32/2901_2.png) [@avasilenko](https://discuss.elastic.co/u/avasilenko)\
**Post date:** [December 6, 2011, 2:16pm UTC](https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077/1 "2011-12-06T14:16:21Z")

</div>

Hello,

Is it possible to un jar-jar libraries, bundled with elasticsearch? Half of  
libraries that are there, already used in our application (jackson, digest,  
httpclient, netty, etc.) and it would be great to reduce permgen size.

Thanks,  
Alexandr Vasilenko  
Web Developer

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [December 6, 2011, 2:57pm UTC](https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077/2 "2011-12-06T14:57:40Z")

</div>

With the new build in master its possible to do it, though make sure that  
the versions are the same, as the ones elasticsearch uses include important  
bug fixes (out of the one you listed, elasticsearch uses jackson and netty).

On Tue, Dec 6, 2011 at 4:16 PM, Alex Vasilenko [aa.vasilenko@gmail.com](mailto:aa.vasilenko@gmail.com)wrote:

> Hello,
> 
> Is it possible to un jar-jar libraries, bundled with elasticsearch? Half  
> of libraries that are there, already used in our application (jackson,  
> digest, httpclient, netty, etc.) and it would be great to reduce permgen  
> size.
> 
> Thanks,  
> Alexandr Vasilenko  
> Web Developer

---

<div class="post-metadata">

**Author:** ![avasilenko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/avasilenko/32/2901_2.png) [@avasilenko](https://discuss.elastic.co/u/avasilenko)\
**Post date:** [December 6, 2011, 4:51pm UTC](https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077/3 "2011-12-06T16:51:48Z")

</div>

Thanks for info, Shay.  
I'm very new to maven, can you tell me what arguments to mvn should I use?

Regards,  
Alexandr Vasilenko

2011/12/6 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com)

> With the new build in master its possible to do it, though make sure that  
> the versions are the same, as the ones elasticsearch uses include important  
> bug fixes (out of the one you listed, elasticsearch uses jackson and netty).
> 
> On Tue, Dec 6, 2011 at 4:16 PM, Alex Vasilenko [aa.vasilenko@gmail.com](mailto:aa.vasilenko@gmail.com)wrote:
> 
> > Hello,
> > 
> > Is it possible to un jar-jar libraries, bundled with elasticsearch? Half  
> > of libraries that are there, already used in our application (jackson,  
> > digest, httpclient, netty, etc.) and it would be great to reduce permgen  
> > size.
> > 
> > Thanks,  
> > Alexandr Vasilenko  
> > Web Developer

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [December 6, 2011, 7:44pm UTC](https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077/4 "2011-12-06T19:44:55Z")

</div>

You'll need to clone the repo yourself, and remove some dependencies from  
the shade plugin in the pom.xml. I highly suggest against it though, its  
very important to use the latest versions of the libraries _and_ maintain  
it.

On Tue, Dec 6, 2011 at 6:51 PM, Alex Vasilenko [aa.vasilenko@gmail.com](mailto:aa.vasilenko@gmail.com)wrote:

> Thanks for info, Shay.  
> I'm very new to maven, can you tell me what arguments to mvn should I use?
> 
> Regards,  
> Alexandr Vasilenko
> 
> 2011/12/6 Shay Banon [kimchy@gmail.com](mailto:kimchy@gmail.com)
> 
> > With the new build in master its possible to do it, though make sure  
> > that the versions are the same, as the ones elasticsearch uses include  
> > important bug fixes (out of the one you listed, elasticsearch uses jackson  
> > and netty).
> > 
> > On Tue, Dec 6, 2011 at 4:16 PM, Alex Vasilenko [aa.vasilenko@gmail.com](mailto:aa.vasilenko@gmail.com)wrote:
> > 
> > > Hello,
> > > 
> > > Is it possible to un jar-jar libraries, bundled with elasticsearch? Half  
> > > of libraries that are there, already used in our application (jackson,  
> > > digest, httpclient, netty, etc.) and it would be great to reduce permgen  
> > > size.
> > > 
> > > Thanks,  
> > > Alexandr Vasilenko  
> > > Web Developer

---

<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:** [July 6, 2017, 3:46am UTC](https://discuss.elastic.co/t/un-jar-jar-elasticsearch-project/6077/5 "2017-07-06T03:46:18Z")

</div>

Closed on July 6, 2017, 3:46am UTC


