bugzilla:sync

Full name:

de.smartics.maven.plugin:bugzilla-maven-plugin:0.4.1:sync

Description:

Used after a release: Updates a product on the issue management server with information from this project and initializes the version information for that project.

Attributes:

  • Requires a Maven project to be executed.
  • The goal is thread-safe and supports parallel builds.
  • Since version: 1.0.

Required Parameters

Name Type Since Description
releasedVersion String 1.0 The released version to add. Also the major, minor and micro increment milestones are added. If for e.g. the released version is 1.2.3, this version and the milestones 1.2.4, 1.3.0 and 2.0.0 are initialized.

If the released version cannot be recognized by Maven's standard implementation of a version parser, increment versions will not be added.


Optional Parameters

Name Type Since Description
addDefaultComponentsForMultiModuleProjects boolean 1.0 Signals to add the default component descriptions for multi module projects. The default descriptions are added in addition to the names of the sub modules. This has no effect on single modules where the default component descriptions are always added.
Default value is: false.
configurationName String 1.0 The name of the resource on the class path that contains the configuration. The XML file must conform to http://www.smartics.de/schema/bugzilla-configuration/1".
Default value is: bugzilla-configuration-default.xml.
defaultMilestone String 1.0 The default milestone to use. Defaults to the current version without -SNAPSHOT suffix.
initialOwner String 1.0 The name of the initial owner of issues for the components. Currently the initial owner for each component is the same.
initialVersion String 1.0 The initial version to use.
Default value is: ${project.Version}.
issueServerId String 1.0 The name of the server configuration in the settings.xml that provides credentials to access the issues server. Only used if no server matches the POM's issueManagement/url and issueManagement/system.
Default value is: bugzilla.
locale String 1.0 The locale to use to select default component descriptions. If a not supported locale is used, it defaults to the given default. If specified, the configurationName is adjusted by adding this locale (e.g. bugzilla-configuration-default-en.xml).
Default value is: en.
oldProduct String 1.0 The old name to select the product on the server. Differs only from product if the name has changed.
Default value is: ${project.artifactId}.
product String 1.0 The name of product.
Default value is: ${project.artifactId}.
suppressSubModuleNamesAsComponents boolean 1.0 Signals that in the case of a multi module project the sub module names should not be added as components. Note: If you do not set 'addDefaultComponentsForMultiModuleProjects' to 'true' the product will be added without any components.
Default value is: false.
verbose String 1.0 Defines the verboseness of the output.
  • QUIET - prints no info messages.
  • NORMAL - only prints the returned page titles.
  • VERBOSE - adds information about the called service and parameters.
  • TRACE - provides the most verbose output with dumping the contents of the returned pages.

Default value is: NORMAL.

Parameter Details

addDefaultComponentsForMultiModuleProjects:

Signals to add the default component descriptions for multi module projects. The default descriptions are added in addition to the names of the sub modules. This has no effect on single modules where the default component descriptions are always added.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Default: false

configurationName:

The name of the resource on the class path that contains the configuration. The XML file must conform to http://www.smartics.de/schema/bugzilla-configuration/1".
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Default: bugzilla-configuration-default.xml

defaultMilestone:

The default milestone to use. Defaults to the current version without -SNAPSHOT suffix.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${defaultMilestone}

initialOwner:

The name of the initial owner of issues for the components. Currently the initial owner for each component is the same.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${initialOwner}

initialVersion:

The initial version to use.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${initialVersion}
  • Default: ${project.Version}

issueServerId:

The name of the server configuration in the settings.xml that provides credentials to access the issues server. Only used if no server matches the POM's issueManagement/url and issueManagement/system.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Default: bugzilla

locale:

The locale to use to select default component descriptions. If a not supported locale is used, it defaults to the given default. If specified, the configurationName is adjusted by adding this locale (e.g. bugzilla-configuration-default-en.xml).
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Default: en

oldProduct:

The old name to select the product on the server. Differs only from product if the name has changed.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${oldProduct}
  • Default: ${project.artifactId}

product:

The name of product.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${product}
  • Default: ${project.artifactId}

releasedVersion:

The released version to add. Also the major, minor and micro increment milestones are added. If for e.g. the released version is 1.2.3, this version and the milestones 1.2.4, 1.3.0 and 2.0.0 are initialized.

If the released version cannot be recognized by Maven's standard implementation of a version parser, increment versions will not be added.

  • Type: java.lang.String
  • Since: 1.0
  • Required: Yes
  • Expression: ${releasedVersion}

suppressSubModuleNamesAsComponents:

Signals that in the case of a multi module project the sub module names should not be added as components. Note: If you do not set 'addDefaultComponentsForMultiModuleProjects' to 'true' the product will be added without any components.
  • Type: boolean
  • Since: 1.0
  • Required: No
  • Default: false

verbose:

Defines the verboseness of the output.
  • QUIET - prints no info messages.
  • NORMAL - only prints the returned page titles.
  • VERBOSE - adds information about the called service and parameters.
  • TRACE - provides the most verbose output with dumping the contents of the returned pages.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${verbose}
  • Default: NORMAL