jabrena avatar

110 Java Maven Best Practices

This one walks through your Maven POMs and flags the usual suspects: hardcoded versions that should live in dependencyManagement, plugin config that belongs in pluginManagement, and properties scattered across child modules instead of centralized in the parent. It's smart about multi-module projects and actually reads every child POM before making recommendations, which matters when you're hunting version drift across siblings. The workflow is cautious: it runs mvn validate first and won't touch anything if your build is already broken. Written by Juan Antonio Breña Moral as part of the cursor-rules-java project. Solid if you inherit a messy Maven setup or want to clean up before it gets worse.

skills.sh installs
160
GitHub stars
393
last updated
Jun 3, 2026

Install

$ npx -y skills add jabrena/cursor-rules-java --skill 110-java-maven-best-practices --agent claude-code

Installs into .claude/skills of the current project.

Files

Maven Best Practices

Improve Maven POM configuration using industry-standard best practices.

What is covered in this Skill?

Sponsors

Details

Repository
github.com/jabrena/cursor-rules-java
Category
Java & JVM
First seen
Jun 3, 2026

More from jabrena/cursor-rules-java

All 16

Recommended

More Java & JVM
1jabrena avatar111-java-maven-dependenciesjabrena/cursor-rules-java111 java maven dependencies136skills.sh installs
2jabrena avatar112-java-maven-pluginsjabrena/cursor-rules-java112 java maven plugins133skills.sh installs
3jabrena avatar113-java-maven-documentationjabrena/cursor-rules-java113 java maven documentation125skills.sh installs
4decebals avatarjpa-patternsdecebals/claude-code-javaJPA/Hibernate patterns and common pitfalls (N+1, lazy loading, transactions, queries). Use when user has JPA performance issues, LazyInitializationException, or297skills.sh installs
5jeffallan avatarjava-architectjeffallan/claude-skillsUse when building, configuring, or debugging enterprise Java applications with Spring Boot 3.x, microservices, or reactive programming. Invoke to implement WebF6.2Kskills.sh installs
6affaan-m avatarjava-coding-standardsaffaan-m/eccJava coding standards for Spring Boot and Quarkus services: naming, immutability, Optional usage, streams, exceptions, generics, CDI, reactive patterns, and pro6.2Kskills.sh installs