```xml
<plugin>
    <groupId>com.ly.smart-doc</groupId>
    <artifactId>smart-doc-maven-plugin</artifactId>
    <version>3.0.6</version>
</plugin>
```

#### 1、描述

请参考开源项目：https://gitee.com/TongchengOpenSource/smart-doc

#### 2、应用示例

a) 添加 `pom.xml`  插件配置：

```xml
<build>
      <plugins>
          <plugin>
              <groupId>com.ly.smart-doc</groupId>
              <artifactId>smart-doc-maven-plugin</artifactId>
              <version>3.0.3</version>
              <configuration>
                  <!--指定生成文档的使用的配置文件,配置文件放在自己的项目中-->
                  <configFile>./src/main/resources/smart-doc.json</configFile>
                  <!--指定项目名称-->
                  <projectName>测试</projectName>
              </configuration>
          </plugin>
      <plugins>
</build>
```

b) 添加 `smart-doc.json` 项目配置（注意，framework 要设为 solon）：

```json
{
  "framework": "solon",
  "outPath": "src/main/resources/static/doc"
}
```

c) 用 maven 插件命令生成文档

#### 3、更多参考

[官网文档](https://smart-doc-group.github.io/#/zh-cn/?id=smart-doc)、[演示项目](https://gitee.com/noear/solon-examples/tree/main/a.Doc/demoA001-smartdoc)

