OpenSearch/plugin
Jason Tedor 50864eabce Introduce plugin-specific env scripts
With plugins of a meta-plugin now loaded in separate classloaders, we
should not be loading all classes in all plugins of a meta-plugin when
executing scripts. This is particularly problematic in the case of
security extensions where the install plugin extension command would be
running with the classpath of all plugins. However, if there is JAR hell
in this classpath, installation would fail. This is not realistic though
since the plugins are run in separate classloaders. To fix this, for the
scripts of a plugin, we only set the classpath to include the JARs for
that plugin and the JARs of core. This leads us to the introduction of
plugin-specific env scripts.

Relates elastic/x-pack-elasticsearch#3649

Original commit: elastic/x-pack-elasticsearch@543df37eed
2018-01-20 15:56:00 -05:00
..
bwc-snapshot-dummy-projects Adapt to compile and runtime Java home distinction 2018-01-16 13:45:42 -05:00
core Introduce plugin-specific env scripts 2018-01-20 15:56:00 -05:00
deprecation Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
graph Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
keys Rename core plugin and transport dirs 2017-02-10 11:02:42 -08:00
licenses More license file corrections 2018-01-18 16:34:25 -08:00
logstash Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
ml [TEST] Update ML categorization expected result following C++ change 2018-01-20 14:50:24 +00:00
ml-cpp-snapshot Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
monitoring Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
security Introduce plugin-specific env scripts 2018-01-20 15:56:00 -05:00
sql Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
src Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
upgrade Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00
watcher Introduce plugin-specific env scripts 2018-01-20 15:56:00 -05:00
build.gradle Split up xpack plugins into their own modules (elastic/x-pack-elasticsearch#3643) 2018-01-19 23:30:17 -06:00