🔎 Open source distributed and RESTful search engine.
Go to file
Ryan Ernst 33785e5446 Build: Improve behavior and setup for attachment to elasticsearch
Currently, running any task while attached to elasticsearch will also
try to run that task in all elasticsearch projects. This change causes
x-plugins to be moved into a subproject when attached. It does this by
dynamically creating a fake root project, and making this root project
think it is attached to the existing attachments, along with x-plugins
itself.

This also fixes buildSrc so attachment to elasticsearch's buildSrc
actually works.

Original commit: elastic/x-pack-elasticsearch@da0adf1da5
2015-11-06 11:08:03 -08:00
buildSrc Build: Improve behavior and setup for attachment to elasticsearch 2015-11-06 11:08:03 -08:00
marvel Build: Improve behavior and setup for attachment to elasticsearch 2015-11-06 11:08:03 -08:00
qa Remove confusing pom.xml files 2015-11-05 10:39:28 -05:00
shield Build: Improve behavior and setup for attachment to elasticsearch 2015-11-06 11:08:03 -08:00
watcher Build: Improve behavior and setup for attachment to elasticsearch 2015-11-06 11:08:03 -08:00
x-dev-tools Remove confusing pom.xml files 2015-11-05 10:39:28 -05:00
.dir-locals.el Add .dir-locals.el and .projectile 2015-10-30 11:16:29 -06:00
.projectile Add .dir-locals.el and .projectile 2015-10-30 11:16:29 -06:00
LICENSE.txt Initial X-Pack commit 2018-04-20 14:16:58 -07:00
README.asciidoc Add attachment docs to README 2015-11-04 11:19:13 -08:00
build.gradle Build: Improve behavior and setup for attachment to elasticsearch 2015-11-06 11:08:03 -08:00
settings.gradle Build: Improve behavior and setup for attachment to elasticsearch 2015-11-06 11:08:03 -08:00

README.asciidoc

= Elasticsearch X Plugins

A set of Elastic's commercial plugins:

- License
- Shield
- Watcher
- Marvel

= Testing with Elasticsearch
Sometimes it is useful to use your local elasticsearch checkout with x-plugins. To do this, run the following commands:
cd buildSrc
gradle attach --name elasticsearch --path /path/to/elasticsearch/buildSrc
cd ..
gradle attach --name elasticsearch --path /path/to/elasticsearch

This will cause building x-plugins to reflect any changes in your elasticsearch repo. For example, if you make a change to elasticsearch core, building x-plugins will first re-build elasticsearch core, and use that when building x-plugins.