jabrena avatar

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-code

Installs 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

Recommended

More Java & JVM
1jabrena avatar113-java-maven-documentationjabrena/cursor-rules-java113 java maven documentation125skills.sh installs
2decebals 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
3jeffallan 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
4affaan-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
5affaan-m avatarspringboot-patternsaffaan-m/eccSpring Boot architecture patterns, REST API design, layered services, data access, caching, async processing, and logging. Use for Java Spring Boot backend work6.1Kskills.sh installs
6affaan-m avatarspringboot-securityaffaan-m/eccSpring Security best practices for authn/authz, validation, CSRF, secrets, headers, rate limiting, and dependency security in Java Spring Boot services.6Kskills.sh installs