Back to skills
SKILL.md
Build Maven
ASecurityPOM structure, dependency management, plugins, profiles, and multi-module projects.
- 8 stars
- 0 votes
- 0 copies
- 16 views
- Added September 8, 2026
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add ngxtm/devkit --skill build-maven --agent claude-codeAre you the author of Build Maven?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ngxtm-build-maven)---
name: Maven Build
description: POM structure, dependency management, plugins, profiles, and multi-module projects.
metadata:
labels: [java, maven, build]
triggers:
files: ['pom.xml']
keywords: [dependencyManagement, plugin, maven, lifecycle, groupId, artifactId, version]
---
# Maven Build Standards
## POM Structure
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.0</version>
</parent>
<groupId>com.example</groupId>
<artifactId>my-app</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
<java.version>21</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>
```
## Dependency Management
```xml
<dependencyManagement>
<dependencies>
<!-- BOM import -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>2023.0.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
```
## Common Commands
```bash
mvn clean install # Build and install
mvn clean install -DskipTests # Skip tests
mvn dependency:tree # Show dependency tree
mvn versions:display-dependency-updates # Check updates
mvn spring-boot:run # Run Spring Boot app
```
## References
- [Dependency Management](references/dependency-management.md) - BOMs, exclusions, versions
Files in this skill
- SKILL.md
- references/REFERENCE.md
- references/dependency-management.md
- references/lifecycle-phases.md
Attribution
Related skills
View all in ai-agents →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.