Skip to content
Back to skills

Maven Build

ASecurity

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

  • 1,676 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
developmentbash

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add MorphiaOrg/morphia --skill maven-build --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Maven Build?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Maven Build
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/morphiaorg-maven-build/badge)](https://www.skillsdirectory.com/skills/morphiaorg-maven-build)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: maven-build
description: Build and test the Morphia project using Maven. Use when compiling, running tests, or building artifacts.
allowed-tools: Bash(mvn:*), Bash(./mvnw:*)
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.