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

**URL:** <https://discuss.elastic.co/t/apache-camel-camel-elasticsearch-component-maven-repository-for-elastic-search/8932>\
**Category:** Elasticsearch\
**Created:** [September 5, 2012, 11:58am UTC](https://discuss.elastic.co/t/apache-camel-camel-elasticsearch-component-maven-repository-for-elastic-search/8932 "2012-09-05T11:58:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![danieluk01](https://avatars.discourse-cdn.com/v4/letter/d/73ab20/32.png) [@danieluk01](https://discuss.elastic.co/u/danieluk01)\
**Post date:** [September 5, 2012, 11:58am UTC](https://discuss.elastic.co/t/apache-camel-camel-elasticsearch-component-maven-repository-for-elastic-search/8932/1 "2012-09-05T11:58:10Z")

</div>

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/](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](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](http://uk.linkedin.com/pub/dr-daniel-kong/14/42b/95a)

> **[danieluk01 (Daniel Kong)](https://github.com/danieluk01)**
>
> danieluk01 has 2 repositories available. Follow their code on GitHub.

--

---

<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:14am UTC](https://discuss.elastic.co/t/apache-camel-camel-elasticsearch-component-maven-repository-for-elastic-search/8932/2 "2017-07-06T03:14:03Z")

</div>


