java-maven▌
pluginagentmarketplace/custom-plugin-java · updated Apr 8, 2026
Apache Maven configuration, dependency management, and multi-module project setup for Java builds.
- ›Covers POM structure, lifecycle phases (validate through deploy), and plugin configuration with practical examples
- ›Supports single-module, multi-module, and library project types with BOM-based dependency management
- ›Includes troubleshooting guidance for common issues like dependency conflicts, version mismatches, and build memory problems
- ›Provides Maven commands for dependency analys
Java Maven Skill
Master Apache Maven for Java project builds and dependency management.
Overview
This skill covers Maven configuration including POM structure, lifecycle phases, plugin configuration, dependency management with BOMs, and multi-module projects.
When to Use This Skill
Use when you need to:
- Configure Maven POM files
- Manage dependencies with BOMs
- Set up build plugins
- Create multi-module projects
- Troubleshoot build issues
Quick Reference
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0">
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>my-app</artifactId>
<version>1.0.0-SNAPSHOT</version>
<properties>
<java.version>21</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>3.2.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.4.1</version>
</plugin>
</plugins>
</build>
</project>
Lifecycle Phases
validate → compile → test → package → verify → install → deploy
Useful Commands
mvn dependency:tree # View dependencies
mvn dependency:analyze # Find unused/undeclared
mvn versions:display-dependency-updates # Check updates
mvn help:effective-pom # View effective POM
mvn -B verify # Batch mode build
Troubleshooting
| Problem | Solution |
|---|---|
| Dependency not found | Check repository, version |
| Version conflict | Use BOM or enforcer |
| Build OOM | Set MAVEN_OPTS=-Xmx1g |
Usage
Skill("java-maven")
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
java-maven is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Piyush G· Sep 9, 2024
Keeps context tight: java-maven is the kind of skill you can hand to a new teammate without a long onboarding doc.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Registry listing for java-maven matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Sakshi Patil· Jul 7, 2024
java-maven reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend java-maven for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Oshnikdeep· May 5, 2024
Useful defaults in java-maven — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Dhruvi Jain· Apr 4, 2024
java-maven has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Rahul Santra· Mar 3, 2024
Solid pick for teams standardizing on skills: java-maven is focused, and the summary matches what you get after install.
- ★★★★★Pratham Ware· Feb 2, 2024
We added java-maven from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Yash Thakker· Jan 1, 2024
java-maven fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.