Getting Master dependencies


(ppearcy) #1

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


(Lukáš Vlček) #2

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 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


(Lukáš Vlček) #3

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 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 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


(system) #4