OFT already includes some plugins (e.g. importers for RST & MD). These plugins are loaded automatically from the fat JAR that includes all plugins. Using OFT's plugin API, third parties could create and publish and use their own plugins independently from the OFT project. Example: AsciiDoc importer (#410).
Proposed solution
- OFT loads plugins from folder
OFT_PLUGINS (e.g. $HOME/.openfasttrace/plugins/)
- If the plugin is a single JAR that does not need dependencies, it is directly loaded from
$OFT_PLUGINS/${PLUGIN_NAME}.jar
- If the plugin requires multiple JARs, OFT loads all JARs from
$OFT_PLUGINS/${PLUGIN_NAME}/*.jar
Out of scope
- Configuration of plugin folder via CLI option (maybe in another PR)
Tasks
OFT already includes some plugins (e.g. importers for RST & MD). These plugins are loaded automatically from the fat JAR that includes all plugins. Using OFT's plugin API, third parties could create and publish and use their own plugins independently from the OFT project. Example: AsciiDoc importer (#410).
Proposed solution
OFT_PLUGINS(e.g.$HOME/.openfasttrace/plugins/)$OFT_PLUGINS/${PLUGIN_NAME}.jar$OFT_PLUGINS/${PLUGIN_NAME}/*.jarOut of scope
Tasks