plugin:helpmojo

Full name:

org.apache.maven.plugins:maven-plugin-plugin:3.11.0:helpmojo

Description:

Generates a HelpMojo class. Relies at runtime on one output file from DescriptorGeneratorMojo.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: compile.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 2.4.
  • Binds by default to the lifecycle phase: generate-sources.

Optional Parameters

Name Type Since Description
<goalPrefix> String - The goal prefix that will appear before the ":".
<helpPackageName> String 2.6 The name of the package for the generated HelpMojo.

By default, the package name will be calculated as groupId + "." + artifactId with additional

  • - (dashes) will be replaced by _ (underscores)
  • _ (underscore) will be added before each number or Java keyword at the beginning of name
<outputDirectory> File - The directory where the generated HelpMojo file will be put.
Default: ${project.build.directory}/generated-sources/plugin
<packagingTypes> List<String> 3.3 Maven plugin packaging types. Default is single "maven-plugin".
<skip> boolean 2.8 Set this to "true" to skip invoking any goals or reports of the plugin.
Default: false
User Property: maven.plugin.skip

Parameter Details

<goalPrefix>

The goal prefix that will appear before the ":".
  • Type: java.lang.String
  • Required: report.plugin.goal.no

<helpPackageName>

The name of the package for the generated HelpMojo.

By default, the package name will be calculated as groupId + "." + artifactId with additional

  • - (dashes) will be replaced by _ (underscores)
  • _ (underscore) will be added before each number or Java keyword at the beginning of name
  • Type: java.lang.String
  • Since: 2.6
  • Required: report.plugin.goal.no

<outputDirectory>

The directory where the generated HelpMojo file will be put.
  • Type: java.io.File
  • Required: report.plugin.goal.no
  • Default: ${project.build.directory}/generated-sources/plugin

<packagingTypes>

Maven plugin packaging types. Default is single "maven-plugin".
  • Type: java.util.List<java.lang.String>
  • Since: 3.3
  • Required: report.plugin.goal.no

<skip>

Set this to "true" to skip invoking any goals or reports of the plugin.
  • Type: boolean
  • Since: 2.8
  • Required: report.plugin.goal.no
  • User Property: maven.plugin.skip
  • Default: false