Skip to content

Maven v0.0.1

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 12 Nov 08:39
· 7 commits to main since this release
2acc9ef

兼容性:按插件契约 v0(schemaVersion 0、pluginAPIVersion 0)编写,需要新版 Lithe 桌面端(desktop-v* 预发布)。旧版 macOS Lithe 无法安装。

0.0.1 是按插件契约 v0 重新发布的首个版本。

功能:

  • 识别工作区最外层的 pom.xml,<modules> 组成模块树。
  • 生命周期 clean 到 deploy,可对整个反应堆或单个模块运行;每个模块的插件目标按 Plugins › <前缀> 分组。
  • 运行模块、测试类或单个测试方法,读取 Surefire/Failsafe 的 JUnit XML 报告。
  • 编译输出里的 [ERROR]、[WARNING] 显示为问题。
  • 整个反应堆或单个模块的依赖树,反应堆内未安装的兄弟模块也能解析。
  • 插件设置 Maven executable;构建选项 JDK (JAVA_HOME)、Profiles、Settings File、Local Repository、Offline、Skip Tests。
  • 新建项目:Maven(可选 Java release 8、11、17、21、25)和 Maven Archetype。
  • 插件没有后端进程:读取项目和依赖是 plugin.json 声明的 Maven 命令,由 Lithe 运行,随包的 Maven 扩展只读取反应堆。

权限:process.build、project.generate。

兼容性:

  • 只能装进新版 Lithe 桌面端(desktop-v* 预发布),旧版 macOS Lithe 无法安装。
  • 本版本是预发布,Lithe Store 的自动追踪会跳过它。

安装:预发布版本,Lithe Store 自动追踪会跳过,暂不收录 Store。下载下面的 ZIP,在 设置 → 插件 中点击页面标题栏右侧的 从文件安装…,选中 ZIP 后核对 SHA-256 并确认。

SHA-256:

✓ build the Maven extension (11829.0 ms)
✓ assemble the plugin package (3.0 ms)
✓ archive the plugin package (24.9 ms)
maven-build-0.0.1-darwin.zip 96eb8c4bb11845cdfe41a258aa338bb1f8ef45a37884719c7c306f8768b9fe67
Timing reports: /home/runner/work/lithe-plugin-maven/lithe-plugin-maven/.artifacts/test-stability/package.html (JSON, JUnit alongside)