• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Maven | Maven JAR Plugin (maven-jar-plugin)
  1. Maven JAR Plugin (3.3.0)
  2. The goal help

  1. Maven JAR Plugin (3.3.0)
    Builds a Java Archive (JAR) file from the compiled project classes and resources.

    Plugin coordinates:
    • Group Id: org.apache.maven.plugins
    • Artifact Id: maven-jar-plugin

    Plugin Prefix: jar

    The jar plugin has the following goals:
    • help: Displays help information on maven-jar-plugin.

    • jar: Builds a JAR from the current project.

    • test-jar: Builds a JAR of the test classes for the current project.
  2. The goal help
    The goal help gives general information about the jar plugin and lists its goals.
    The parameter detail gives detailed information about the parameters of the goals of the jar plugin.

    If you need to use the plugin's coordinates instead of its prefix, you can do that as following:

    You can also use the goal describe of the help plugin to get information about the jar plugin and lists its goals:

    The parameter goal gives information about a goal of the jar plugin:
© 2025  mtitek