# Getting Master dependencies

**URL:** https://discuss.elastic.co/t/getting-master-dependencies/4226
**Category:** Elasticsearch
**Created:** [April 13, 2011, 12:02am UTC](https://discuss.elastic.co/t/getting-master-dependencies/4226 "2011-04-13T00:02:58Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ppearcy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppearcy/32/980_2.png) [@ppearcy](https://discuss.elastic.co/u/ppearcy)
#### Post date: [April 13, 2011, 12:02am UTC](https://discuss.elastic.co/t/getting-master-dependencies/4226/1 "2011-04-13T00:02:58Z")

</div>

Hey,  
First off, I'm a maven noob, so tell me if I am doing anything  
crazy.

Was able to easily build master. I manually published the jar to my  
local maven repo. I was able to build my app, but it wouldn't run due  
to missing lucene dependencies. So, I added the ES lucene dependencies  
to my POM file.

A couple of questions:

- I was not able to find the fast-vector-highlighter 3.1 artifact.  
Perhaps this was moved to a different lucene package?
- Is the ES pom.xml file available in github anywhere?

I came across the snapshot repos on sonatype, but that only appears to  
be populated when requested and has an out of date POM file.

Thanks,  
Paul

---

<div class="post-metadata">

### Author: ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)
#### Post date: [April 13, 2011, 5:30am UTC](https://discuss.elastic.co/t/getting-master-dependencies/4226/2 "2011-04-13T05:30:43Z")

</div>

Hi,

once you build and install master snapshot into your local mvn repo ("gradle  
release install") then you can easily reference ES in your project pom:

 org.elasticsearch elasticsearch 0.16.0-SNAPSHOT 

You can then explore all dependencies by running "mvn dependency:tree" in  
your project home folder. This gives you also transitive dependencies.

But I do not think you need to reference any of these dependencies in your  
project pom explicitly.  
Let me know if you still experience issues and we can then start from some  
pom example file (I can share mine if you want).

FYI: lucene-highlighter-3.1.0 now contains both highlighting frameworks  
including fast vector one.

Regards,  
Lukas

On Wed, Apr 13, 2011 at 2:02 AM, Paul [ppearcy@gmail.com](mailto:ppearcy@gmail.com) wrote:

> Hey,  
> First off, I'm a maven noob, so tell me if I am doing anything  
> crazy.
> 
> Was able to easily build master. I manually published the jar to my  
> local maven repo. I was able to build my app, but it wouldn't run due  
> to missing lucene dependencies. So, I added the ES lucene dependencies  
> to my POM file.
> 
> A couple of questions:
> 
> - I was not able to find the fast-vector-highlighter 3.1 artifact.  
> Perhaps this was moved to a different lucene package?
> - Is the ES pom.xml file available in github anywhere?
> 
> I came across the snapshot repos on sonatype, but that only appears to  
> be populated when requested and has an out of date POM file.
> 
> Thanks,  
> Paul

---

<div class="post-metadata">

### Author: ![Lukas\_Vlcek1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas_vlcek1/32/819_2.png) [@Lukas\_Vlcek1](https://discuss.elastic.co/u/Lukas_Vlcek1)
#### Post date: [April 13, 2011, 5:33am UTC](https://discuss.elastic.co/t/getting-master-dependencies/4226/3 "2011-04-13T05:33:26Z")

</div>

Oh, and the ES pom can be found in

/home/lukas/.m2/repository/org/elasticsearch/elasticsearch/0.16.0-SNAPSHOT  
folder  
(replace /home/lukas/.m2 by path to your local mvn repo)

Lukas

On Wed, Apr 13, 2011 at 7:30 AM, Lukáš Vlček [lukas.vlcek@gmail.com](mailto:lukas.vlcek@gmail.com) wrote:

> Hi,
> 
> once you build and install master snapshot into your local mvn repo  
> ("gradle release install") then you can easily reference ES in your project  
> pom:
> 
> org.elasticsearch elasticsearch 0.16.0-SNAPSHOT 
> 
> You can then explore all dependencies by running "mvn dependency:tree" in  
> your project home folder. This gives you also transitive dependencies.
> 
> But I do not think you need to reference any of these dependencies in your  
> project pom explicitly.  
> Let me know if you still experience issues and we can then start from some  
> pom example file (I can share mine if you want).
> 
> FYI: lucene-highlighter-3.1.0 now contains both highlighting frameworks  
> including fast vector one.
> 
> Regards,  
> Lukas
> 
> On Wed, Apr 13, 2011 at 2:02 AM, Paul [ppearcy@gmail.com](mailto:ppearcy@gmail.com) wrote:
> 
> > Hey,  
> > First off, I'm a maven noob, so tell me if I am doing anything  
> > crazy.
> > 
> > Was able to easily build master. I manually published the jar to my  
> > local maven repo. I was able to build my app, but it wouldn't run due  
> > to missing lucene dependencies. So, I added the ES lucene dependencies  
> > to my POM file.
> > 
> > A couple of questions:
> > 
> > - I was not able to find the fast-vector-highlighter 3.1 artifact.  
> > Perhaps this was moved to a different lucene package?
> > - Is the ES pom.xml file available in github anywhere?
> > 
> > I came across the snapshot repos on sonatype, but that only appears to  
> > be populated when requested and has an out of date POM file.
> > 
> > Thanks,  
> > Paul

---

<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, 4:08am UTC](https://discuss.elastic.co/t/getting-master-dependencies/4226/4 "2017-07-06T04:08:26Z")

</div>


