skillZs
LIVE SKILL TAGS
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
REAL INSTALL DATA
← back to all skills
pluginagentmarketplace/custom-plugin-java769 installs

java-maven

Master Apache Maven - POM configuration, plugins, lifecycle, dependency management

How do I install this agent skill?

npx skills add https://github.com/pluginagentmarketplace/custom-plugin-java --skill java-maven
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill provides tools for managing Java Maven projects. While no malicious code was found, it possesses capabilities to execute shell commands and modify files. It is vulnerable to indirect prompt injection if used on untrusted Maven projects containing malicious plugins.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    7/7 files flagged

  • ZeroLeakspass

    Score: 93/100 · 2 sections analyzed

What does this agent skill do?

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

ProblemSolution
Dependency not foundCheck repository, version
Version conflictUse BOM or enforcer
Build OOMSet MAVEN_OPTS=-Xmx1g

Usage

Skill("java-maven")

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/pluginagentmarketplace/custom-plugin-java/java-maven">View java-maven on skillZs</a>