一键导入
maven-build
Build, test and package Java Maven projects. Use for compiling, running tests, or packaging the application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build, test and package Java Maven projects. Use for compiling, running tests, or packaging the application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Always use when user asks to create, generate, draw, or design a diagram, flowchart, architecture diagram, ER diagram, sequence diagram, class diagram, network diagram, mockup, wireframe, or UI sketch, or mentions draw.io, drawio, drawoi, .drawio files, or diagram export to PNG/SVG/PDF.
Expert software functional analyst specializing in functional requirements analysis, use case modeling, data flow design, and database analysis. Use when analyzing business requirements, creating use cases, designing data flows, modeling databases, or translating business needs into technical specifications.
Generate Bruno API test collections from project API definitions. Use when creating API tests, exporting collections, or testing REST endpoints.
This skill should be used when the user asks to "write java code", "java best practices", "jdk features", "java records", "java streams", "java optional", "java testing", "java spring", "java patterns", or needs guidance on professional Java development.
Write robust Java avoiding null traps, equality bugs, and concurrency pitfalls.
Use when writing tests, creating test strategies, or building automation frameworks. Invoke for unit tests, integration tests, E2E, coverage analysis, performance testing, security testing.
| name | maven-build |
| description | Build, test and package Java Maven projects. Use for compiling, running tests, or packaging the application. |
This skill provides guidance for Maven build operations in the Notaire project.
# Build entire project
mvn clean install
# Build specific module with dependencies
mvn clean install -pl <module> -am
# Package without tests
mvn clean package -DskipTests
# Run tests for specific module
mvn test -pl backend-api
mvn test -pl frontend-swing
# Run specific test class
mvn test -Dtest=ClassNameTest
# Run tests with coverage
mvn test
mvn jacoco:report
# Check for issues
mvn spotbugs:check
mvn checkstyle:check
| Module | Description |
|---|---|
| backend-api | Spring Boot REST API |
| frontend-swing | Swing GUI client |
| notary-shared | Shared DTOs and code |
-am flag to build dependent modules firstmvn dependency:resolve to download dependencies-DfailIfNoTests=false for modules without tests-Dmaven.test.failure.ignore=true to continue on test failurestarget/site/jacoco/index.html