spinscale / cookiecutter-elasticsearch-ingest-processor

A cookiecutter template for an elasticsearch ingest processor plugin
47 stars 21 forks source link

Fails build for ES 7.11.2 #17

Closed p4paul closed 3 years ago

p4paul commented 3 years ago
cookiecutter gh:spinscale/cookiecutter-elasticsearch-ingest-processor
You've downloaded /xxx/.cookiecutters/cookiecutter-elasticsearch-ingest-processor before. Is it okay to delete and re-download it? [yes]: 
processor_type [awesome]: test
package_dir [test]: 
description [Ingest processor that is doing something awesome]: 
developer_name [YOUR REAL NAME]: xxx
elasticsearch_version [7.13.3]: 7.11.2

Then build...

cd ingest-test/

./gradlew clean build

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/pallen/Workspaces/play/ingest-test/build.gradle' line: 21

* What went wrong:
A problem occurred evaluating root project 'ingest-test'.
> Failed to apply plugin class 'org.elasticsearch.gradle.info.GlobalBuildInfoPlugin'.
   > Could not create plugin of type 'GlobalBuildInfoPlugin'.
      > Could not generate a decorated class for type GlobalBuildInfoPlugin.
         > org/gradle/jvm/toolchain/JavaInstallation
spinscale commented 3 years ago

Hey,

you need to check out the version for release 7.11.2 because of changes that happened between 7.11 and 7.13...

as you're the second one running into this, I will remove the ability to select the version to simplify setup and leave a note in the README.

Thanks for reporting!

p4paul commented 3 years ago

Thank you for the quick reply!

spinscale commented 3 years ago

Removed the ability to select the version when running cookiecutter in https://github.com/spinscale/cookiecutter-elasticsearch-ingest-processor/commit/ceed4fffd3c5e1d643a6be22b8758c48bca0eb4b

will close out this one! If you have further questions or problems, don't hesitate to create new issues!