# Custom Ingest Processor

**URL:** <https://discuss.elastic.co/t/custom-ingest-processor/171767>\
**Category:** Elasticsearch\
**Created:** [March 11, 2019, 12:53pm UTC](https://discuss.elastic.co/t/custom-ingest-processor/171767 "2019-03-11T12:53:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![suikast42](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/suikast42/32/29865_2.png) [@suikast42](https://discuss.elastic.co/u/suikast42)\
**Post date:** [March 11, 2019, 12:53pm UTC](https://discuss.elastic.co/t/custom-ingest-processor/171767/1 "2019-03-11T12:53:05Z")

</div>

Hi I am looking for a way to setup a elasticserach ingest plugin project based on maven and not on gradle.

I follow the instructions of this [guide](http://david.pilato.fr/blog/2016/07/27/creating-a-plugin-for-elasticsearch-5-dot-0-using-maven/)

That works so far so good fine. But I don't know where I have to place the plugin-security.policy.

For gradle projects it suggested to place in src/main/plugin-metadata. But what about maven ?

---

<div class="post-metadata">

**Author:** ![mvg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mvg/32/98890_2.png) [@mvg](https://discuss.elastic.co/u/mvg)\
**Post date:** [March 15, 2019, 10:13am UTC](https://discuss.elastic.co/t/custom-ingest-processor/171767/2 "2019-03-15T10:13:34Z")

</div>

My guess is that it should be placed under `src/main/resources`, but I have not used Maven in a long time.

Why not just go with Gradle for just your es plugin? Alexander Reelsen build a very nice tool that allows you to generate a new gradle project for specific types of ES plugins: [https://github.com/spinscale/cookiecutter-elasticsearch-ingest-processor](https://github.com/spinscale/cookiecutter-elasticsearch-ingest-processor)

---

<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:** [April 12, 2019, 10:13am UTC](https://discuss.elastic.co/t/custom-ingest-processor/171767/3 "2019-04-12T10:13:46Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
