Hello,
I want to create my own custom plugin so I followed the steps to setup the development environment given by https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md.
Unfortunately, I have been having a hard time trying to set it up...
I have been able to follow the steps up to the yarn es source command where I get the following
error :
$ node scripts/es source
info Installing from source
│ info source path: /home/exploit/elasticsearch
│ info install path: /home/exploit/kibana/.es/source
│ info license: basic
│ info on master at 65cbe51c394c4e23908eecd84ac1cc6e762f8e9e
│ info 0 locally modified file(s)
│ info ./gradlew :distribution:archives:linux-tar:assemble
│ debg Starting a Gradle Daemon (subsequent builds will be faster)
│ debg > Task :buildSrc:compileMinimumRuntimeJava UP-TO-DATE
│ debg > Task :buildSrc:compileMinimumRuntimeGroovy NO-SOURCE
│ debg > Task :buildSrc:processMinimumRuntimeResources NO-SOURCE
│ debg > Task :buildSrc:minimumRuntimeClasses UP-TO-DATE
│ debg > Task :buildSrc:compileJava UP-TO-DATE
│ debg > Task :buildSrc:compileGroovy UP-TO-DATE
│ debg > Task :buildSrc:generateVersionProperties UP-TO-DATE
│ debg > Task :buildSrc:pluginDescriptors UP-TO-DATE
│ debg > Task :buildSrc:processResources UP-TO-DATE
│ debg > Task :buildSrc:classes UP-TO-DATE
│ debg > Task :buildSrc:jar UP-TO-DATE
│ debg > Task :buildSrc:assemble UP-TO-DATE
│ debg > Task :buildSrc:pluginUnderTestMetadata UP-TO-DATE
│ debg > Task :buildSrc:compileTestJava UP-TO-DATE
│ debg > Task :buildSrc:compileTestGroovy UP-TO-DATE
│ debg > Task :buildSrc:processTestResources UP-TO-DATE
│ debg > Task :buildSrc:testClasses UP-TO-DATE
│ debg > Task :buildSrc:test SKIPPED
│ debg > Task :buildSrc:validateTaskProperties UP-TO-DATE
│ debg > Task :buildSrc:check UP-TO-DATE
│ debg > Task :buildSrc:build UP-TO-DATE
│ERROR
│ERROR FAILURE: Build completed with 2 failures.
│ERROR
│ERROR 1: Task failed with an exception.
│ERROR -----------
│ERROR * Where:
│ERROR Build file '/home/exploit/elasticsearch/benchmarks/build.gradle' line: 20
│ERROR
│ERROR * What went wrong:
│ERROR A problem occurred evaluating project ':benchmarks'.
│ERROR > Failed to apply plugin [id 'elasticsearch.build']
│ERROR > Cannot set maxParallelForks to a value less than 1.
│ERROR
│ERROR * Try:
│ERROR Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
│ERROR ==============================================================================
│ERROR
│ERROR 2: Task failed with an exception.
│ERROR -----------
│ERROR * What went wrong:
│ERROR A problem occurred configuring project ':benchmarks'.
│ERROR > Failed to notify project evaluation listener.
│ERROR > Must specify license and notice file for project :benchmarks
│ERROR > Must specify license and notice file for project :benchmarks
│ERROR > Must specify license and notice file for project :benchmarks
│ERROR
│ERROR * Try:
│ERROR Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
│ERROR ==============================================================================
│ERROR
│ERROR * Get more help at https://help.gradle.org
│ERROR
│ERROR BUILD FAILED in 39s
│ERROR unable to build ES
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
I am working on a debian 9 VM and have forked and clone kibana and elasticsearch from elastic's github recently.
Thanks