# Maven: source and javadoc jars are uploaded

**URL:** https://discuss.elastic.co/t/maven-source-and-javadoc-jars-are-uploaded/2894
**Category:** Elasticsearch
**Created:** [April 6, 2010, 6:19pm UTC](https://discuss.elastic.co/t/maven-source-and-javadoc-jars-are-uploaded/2894 "2010-04-06T18:19:42Z")
**Posts on this page:** 4
**Page:** 1

<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: [April 6, 2010, 6:19pm UTC](https://discuss.elastic.co/t/maven-source-and-javadoc-jars-are-uploaded/2894/1 "2010-04-06T18:19:42Z")

</div>

Hi,

I added source and javadoc jars to be uploaded to maven. There is already  
an uploaded version on the snapshot repository. Can someone verify that this  
works fine?

cheers,  
shay.banon

---

<div class="post-metadata">

### Author: ![dominict](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dominict/32/3351_2.png) [@dominict](https://discuss.elastic.co/u/dominict)
#### Post date: [April 6, 2010, 6:32pm UTC](https://discuss.elastic.co/t/maven-source-and-javadoc-jars-are-uploaded/2894/2 "2010-04-06T18:32:25Z")

</div>

Have downloaded (This is the jar I got:  
elasticsearch-0.6.0-20100406.084159-6.jar). Source and JavaDocs  
available within my eclipse.

cheers,  
/dom

On Apr 6, 7:19 pm, Shay Banon [shay.ba...@elasticsearch.com](mailto:shay.ba...@elasticsearch.com) wrote:

> Hi,
> 
> I added source and javadoc jars to be uploaded to maven. There is already  
> an uploaded version on the snapshot repository. Can someone verify that this  
> works fine?
> 
> cheers,  
> shay.banon

---

<div class="post-metadata">

### Author: ![Paolo\_Castagna](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paolo_castagna/32/3347_2.png) [@Paolo\_Castagna](https://discuss.elastic.co/u/Paolo_Castagna)
#### Post date: [April 7, 2010, 11:35am UTC](https://discuss.elastic.co/t/maven-source-and-javadoc-jars-are-uploaded/2894/3 "2010-04-07T11:35:31Z")

</div>

Shay Banon wrote:

> I added source and javadoc jars to be uploaded to maven. There is  
> already an uploaded version on the snapshot repository. Can someone  
> verify that this works fine?

Thank you.

And, as Dom as already said, it works.

Now, people using Maven can simply type:

mvn eclipse:eclipse -DdownloadSources=true

... this generates their .classpath and .project Eclipse files with  
the sources for their dependencies, including Elasticsearch now.

I use:

```
 <plugins>

   <plugin>
     <groupId>org.apache.maven.plugins</groupId>
     <artifactId>maven-eclipse-plugin</artifactId>
     <configuration> 

```

${project.build.directory}/classes-eclipse  
true  
false

```
 </plugins>

```

... to type less on the command line:

mvn eclipse:eclipse

Cheers,  
Paolo

---

<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:24am UTC](https://discuss.elastic.co/t/maven-source-and-javadoc-jars-are-uploaded/2894/4 "2017-07-06T04:24:48Z")

</div>


