nexusbundle:generate-metadata

Full name:

org.sonatype.nexus:nexus-plugin-bundle-maven-plugin:1.0-SNAPSHOT:generate-metadata

Description:

Generates a plugins plugin.xml descriptor file based on the project's POM and class annotations.

Attributes:

  • Requires a Maven project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Since version: 1.0.
  • Binds by default to the lifecycle phase: process-classes.

Optional Parameters

Name Type Since Description
classpathDependencyExcludes List 1.0 The list of classpath dependencies to be excluded from bundling for some reason (for example because you are shading it into plugin artifact).
password String 1.0 The password that is used when connecting to the SCM system.
User property is: password.
pluginDescription String 1.0 Configures the plugin description.
Default value is: ${project.description}.
User property is: pluginDescription.
pluginName String 1.0 Configures the plugin name.
Default value is: ${project.name}.
User property is: pluginName.
pluginSiteUrl String 1.0 Configures the plugin site URL.
Default value is: ${project.url}.
User property is: pluginSiteUrl.
sharedDependencies List 1.0 A list of groupId:artifactId references to non-plugin dependencies that should be shared along with main plugin JAR to dependants of this plugin.
username String 1.0 The username that is used when connecting to the SCM system.
User property is: username.

Parameter Details

classpathDependencyExcludes:

The list of classpath dependencies to be excluded from bundling for some reason (for example because you are shading it into plugin artifact).
  • Type: java.util.List
  • Since: 1.0
  • Required: No

password:

The password that is used when connecting to the SCM system.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: password

pluginDescription:

Configures the plugin description.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: pluginDescription
  • Default: ${project.description}

pluginName:

Configures the plugin name.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: pluginName
  • Default: ${project.name}

pluginSiteUrl:

Configures the plugin site URL.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: pluginSiteUrl
  • Default: ${project.url}

sharedDependencies:

A list of groupId:artifactId references to non-plugin dependencies that should be shared along with main plugin JAR to dependants of this plugin.
  • Type: java.util.List
  • Since: 1.0
  • Required: No

username:

The username that is used when connecting to the SCM system.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • User Property: username