halo/application
guqing 1dc2f6f4ea
refactor: plugin path in annotations when plugin installation (#4179)
#### What type of PR is this?
/kind improvement
/area core
/area plugin
/milestone 2.7.x

#### What this PR does / why we need it:
修复生产模式下插件安装时的位置信息为绝对路径会影响迁移的问题

how to test it?
1. 生产模式下安装插件看 annotation 中 `plugin.halo.run/plugin-path` 的值是否为相对于 pluginsRoot 的相对路径
2. 在生产模式下在 main 分支启动后安装的插件切换到此 PR 后 `plugin.halo.run/plugin-path` 是否变为相对路径

#### Which issue(s) this PR fixes:
Fixes #4178

#### Does this PR introduce a user-facing change?
```release-note
修复生产模式下插件安装时的位置信息为绝对路径会影响迁移的问题
```
2023-07-19 02:34:11 +00:00
..
src refactor: plugin path in annotations when plugin installation (#4179) 2023-07-19 02:34:11 +00:00
build.gradle chore: update preset plugins (#4159) 2023-06-30 03:00:12 +00:00