• Home
  • Docker
  • Kubernetes
  • LLMs
  • Java
  • Ubuntu
  • Maven
  • Big Data
  • Archived
Maven | Maven Assembly Plugin (maven-assembly-plugin)
  1. Maven Assembly Plugin (3.4.2)
  2. The goal help
  3. Example: Using assembly plugin

  1. Maven Assembly Plugin (3.4.2)
    Creates archives of your project's sources, classes, dependencies etc. from flexible assembly descriptors.

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

    Plugin Prefix: assembly

    The assembly plugin has the following goals:
    • help: Display help information on maven-assembly-plugin.

    • single: Assemble an application bundle or distribution from an assembly descriptor.

  2. The goal help
    The goal help gives general information about the assembly plugin and lists its goals.
    The parameter detail gives detailed information about the parameters of the goals of the assembly 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 assembly plugin and lists its goals:

    The parameter goal gives information about a goal of the assembly plugin:
  3. Example: Using assembly plugin
    Adjust your pom file with the following:

    Create the "assembly.xml" file (src/main/assembly/assembly.xml):
© 2025  mtitek