mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
Refactor plugin scanning into lib (#92437)
new stable plugins require generated named_components.json file which contains all analysis components implemented by this plugin. The generation is currently done in build-tools by elasticsearch.stable-esplugin However this makes the generation only available for plugins using gradle. Plugin developers using maven or other building tooling will not be able to use it. This commits refactors the scanning logic into libs:plugin-scanner which will allow for plugin install command to perform the scanning too. relates #88980
This commit is contained in:
parent
62c53e2682
commit
ed83f9cc86
30 changed files with 994 additions and 831 deletions
16
libs/plugin-scanner/src/main/java/module-info.java
Normal file
16
libs/plugin-scanner/src/main/java/module-info.java
Normal file
|
@ -0,0 +1,16 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the Elastic License
|
||||
* 2.0 and the Server Side Public License, v 1; you may not use this file except
|
||||
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
||||
* Side Public License, v 1.
|
||||
*/
|
||||
|
||||
module org.elasticsearch.plugin.scanner {
|
||||
requires org.elasticsearch.base;
|
||||
requires org.objectweb.asm;
|
||||
requires org.elasticsearch.plugin.api;
|
||||
requires org.elasticsearch.xcontent;
|
||||
|
||||
exports org.elasticsearch.plugin.scanner;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue