Apache Camel, camel-elasticsearch component, maven repository for elastic search


(danieluk01) #1

Thought this might be helpful to others.

If you want to build the latest Apache Camel source but failed at building
camel-elasticsearch module due to not be able to retrieve the elastic jar
file, this can be solved as following:
The repository in camel-elasticsearch pom file is not working:

sonatype-oss
Sonatype OSS

http://oss.sonatype.org/content/repositories/releases/

true


false

Replacing the above with the following works:

elasticsearch
elasticsearch repo
http://elasticsearch.googlecode.com/svn/maven

I used the second repository one month ago when I was working on an
elasticsearch maven project. This when I got the issue with the first one,
I replaced it with the second. It just worked.

It might be nice if elasticsearch people could confirm where would be the
formal maven repository for elasticsearch dependency.

Cheers,

Daniel
http://uk.linkedin.com/pub/dr-daniel-kong/14/42b/95a

--


(system) #2