Skip to content

源码插件基础设施(forge-starter-plugin) ​

工程位置:forge-server/forge-framework/forge-starter-parent/forge-starter-plugin。Maven artifactId 是 forge-starter-plugin。

本 Starter 提供源码插件描述、版本兼容校验与运行时许可(forge.license)等扩展点,供 forge-plugin-system 的插件中心 / 交付链路使用。后台操作见 插件中心;购买与 CLI 安装见 源码插件购买与安装。

引入 ​

xml
<dependency>
    <groupId>com.mdframe.forge</groupId>
    <artifactId>forge-starter-plugin</artifactId>
</dependency>

配置属性 ​

forge.license(RuntimeLicenseProperties) ​

字段类型说明
enabledboolean是否启用运行时许可校验
customerIdString客户标识
installationIdString安装实例标识
filesList&lt;Path&gt;许可文件路径列表
publicKeysMap&lt;String, Path&gt;公钥路径映射

相关文档 ​