
112 Java Maven Plugins
This is an interactive skill that walks you through adding Maven plugins to your pom.xml without breaking what's already there. It covers the usual suspects like compiler, surefire, failsafe, plus quality tools (JaCoCo, PiTest, SpotBugs, PMD), security scanning with OWASP, formatting with Spotless, and container builds with Jib. The workflow is consultative: it validates your project first, analyzes existing config, then asks what you actually need instead of dumping everything in. It's part of the cursor-rules-java project and treats your pom.xml like something that already works, which is refreshing. Good for teams that want consistent plugin setup without the usual copy-paste chaos.
- skills.sh installs
- 133
- GitHub stars
- 393
- last updated
- Jun 3, 2026
Install
$ npx -y skills add jabrena/cursor-rules-java --skill 112-java-maven-plugins --agent claude-codeInstalls into .claude/skills of the current project.
Files
Maven Plugins: pom.xml Configuration Best Practices
Configure Maven plugins and profiles in pom.xml using a structured, question-driven process that preserves existing configuration. This is an interactive SKILL.
What is covered in this Skill?
Maven plugins:
- Maven Compiler
- Maven Enforcer
- Maven Surefire
- Maven Failsafe
- HTML test reports (Surefire Report, JXR)
- Maven Spotless
- Maven Flatten
- Maven Versions
- Maven Git Commit ID
- Maven Jib
Maven profiles:
- JaCoCo (code coverage)
- PiTest (mutation testing)
- Security (OWASP dependency check)
- Static analysis (SpotBugs, PMD)
- SonarQube/SonarCloud
- JMH (Java Microbenchmark Harness)
- Cyclomatic complexity
Constraints
Before applying plugin recommendations, ensure the project is in a valid state. Use a structured, question-driven process that preserves existing configuration and adds only what the user selects.
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- 143 Java Functional Exception Handling133
- 122 Java Type Design132
- 144 Java Data Oriented Programming129
- 170 Java Documentation129
- 132 Java Testing Integration Testing128
- 113 Java Maven Documentation125
- 110 Java Maven Best Practices160
- 121 Java Object Oriented Design153
- 124 Java Secure Coding146
- 111 Java Maven Dependencies136
- 125 Java Concurrency135
- 128 Java Generics135
- 141 Java Refactoring With Modern Features135
- 142 Java Functional Programming135
- 131 Java Testing Unit Testing134