# Struggling to get elasticsearch.esplugin to work

**URL:** https://discuss.elastic.co/t/struggling-to-get-elasticsearch-esplugin-to-work/42453
**Category:** Elasticsearch
**Created:** [February 23, 2016, 3:43am UTC](https://discuss.elastic.co/t/struggling-to-get-elasticsearch-esplugin-to-work/42453 "2016-02-23T03:43:47Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)
#### Post date: [February 23, 2016, 3:43am UTC](https://discuss.elastic.co/t/struggling-to-get-elasticsearch-esplugin-to-work/42453/1 "2016-02-23T03:43:47Z")

</div>

Hello,

Is elasticsearch.esplugin already usable? I've just setup a small plugin project based on it with the following build.gradle:

```auto
buildscript {
    repositories {
        mavenCentral()
        maven {
            name 'sonatype-snapshots'
            url 'http://oss.sonatype.org/content/repositories/snapshots/'
        }
        jcenter()
    }
    dependencies {
        classpath "org.elasticsearch.gradle:build-tools:$elasticsearchVersion"
    }
}

apply plugin: 'elasticsearch.esplugin'

esplugin {
    name 'ingest-data-scrapper'
    description 'Ingest processor that integrates with data scrapper DSL'
    classname 'sh.scrap.scrapper.ingest.DataScrapperPlugin'
}

dependencies {
    compile "org.elasticsearch:elasticsearch:$elasticsearchVersion"
}

```

Where elasticsearchVersion is 3.0.0-SNAPSHOT. But when building I get the following error:

```auto
* What went wrong:
A problem occurred evaluating project ':scrapper-elasticsearch'.
> Cannot convert URL 'jar:file:/Users/thiago/.gradle/caches/modules-2/files-2.1/org.elasticsearch.gradle/build-tools/3.0.0-SNAPSHOT/6ed11d9ca2a4ee2405bf5fd5d587ad70bd46afa/build-tools-3.0.0-SNAPSHOT.jar!/checkstyle.xml' to a file.

```

What am I missing here? Or it's just that the gradle plugin is not usable yet?

Thanks!  
Thiago Souza

---

<div class="post-metadata">

### Author: ![matteocremolini](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matteocremolini/32/7096_2.png) [@matteocremolini](https://discuss.elastic.co/u/matteocremolini)
#### Post date: [September 19, 2016, 10:30am UTC](https://discuss.elastic.co/t/struggling-to-get-elasticsearch-esplugin-to-work/42453/2 "2016-09-19T10:30:28Z")

</div>

Hi,  
same problem here!!!  
Any news?

bye  
mt

---

<div class="post-metadata">

### Author: ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)
#### Post date: [September 19, 2016, 9:03pm UTC](https://discuss.elastic.co/t/struggling-to-get-elasticsearch-esplugin-to-work/42453/3 "2016-09-19T21:03:45Z")

</div>

This certainly should work. This particular problem should have been fixed by:

> <https://github.com/elastic/elasticsearch/pull/17720>

---

<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 5, 2017, 10:19pm UTC](https://discuss.elastic.co/t/struggling-to-get-elasticsearch-esplugin-to-work/42453/4 "2017-07-05T22:19:01Z")

</div>


