跳到正文
cccskills
免费在 GitHub 公开

maven-build

Build and test the Morphia project using Maven. Use when compiling, running tests, or building artifacts.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Maven Build Commands

This is a multi-module Maven project. Use mvn or ./mvnw (if available) to build and test.

Common Commands

  • Compile: mvn clean compile
  • Run tests: mvn test
  • Run specific test: mvn test -Dtest=ClassName#methodName
  • Integration tests: mvn clean verify
  • Full build (skip tests): mvn clean install -DskipTests
  • Full build: mvn clean install

Module-Specific Builds

To build or test a specific module:

mvn -pl module-name test
mvn -pl module-name -am clean install

The -am flag builds required dependencies.

Guidelines

  • Prefer ./mvnw if the wrapper exists in the project root
  • Always run tests after making code changes to verify nothing broke
  • If tests fail, analyze the error output and suggest fixes
  • Use -DskipTests only when explicitly requested or for quick compile checks

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

diagnose

免费

Use when a test fails and you need to diagnose the root cause. Run the test, read errors, trace through generated and source code, fix, and verify.

中文简介正在准备中。当前显示原文说明。

MorphiaOrg/morphia16762026年10月20日 更新

查看 MorphiaOrg 的全部技能

报告此技能的问题