bugzilla:addVersion

Full name:

de.smartics.maven.plugin:bugzilla-maven-plugin:0.7.0:addVersion

Description:

Adds a version to a product.

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
settingsSecurityLocation String 1.0 The location of the settings-security.xml.

Optional Parameters

Name Type Since Description
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.
issueServerVersion String 1.0 The version of the issue server. Allows the implementation to make version dependent decisions.
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.
version String 1.0 The new version to add. May be either MAJOR, MINOR, MICRO, CURRENT, SNAPSHOT or an explicit version to add. If one of the tokens is used, the next version is calculated based on the current version found in the POM.
  • 1.2.3-SNAPSHOT MICRO -> 1.2.4
  • 1.2.0-SNAPSHOT MINOR -> 1.3.0
  • 1.2.1-SNAPSHOT MINOR -> 1.3.0
  • 2.0.0-SNAPSHOT MAJOR -> 3.0.0
  • 2.0.1-SNAPSHOT MAJOR -> 3.0.0
  • 2.0.1-SNAPSHOT SNAPSHOT -> 2.0.1-SNAPSHOT
  • 2.0.1-SNAPSHOT CURRENT -> 2.0.1

If the project's version cannot be recognized by Maven's standard implementation of a version parser and the version is not explicitly stated, nothing is added.


Default value is: CURRENT.

Parameter Details

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

issueServerVersion:

The version of the issue server. Allows the implementation to make version dependent decisions.
  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${issueServerVersion}

settingsSecurityLocation:

The location of the settings-security.xml.
  • Type: java.lang.String
  • Since: 1.0
  • Required: Yes
  • Expression: ${user.home}/.m2/settings-security.xml

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

version:

The new version to add. May be either MAJOR, MINOR, MICRO, CURRENT, SNAPSHOT or an explicit version to add. If one of the tokens is used, the next version is calculated based on the current version found in the POM.
  • 1.2.3-SNAPSHOT MICRO -> 1.2.4
  • 1.2.0-SNAPSHOT MINOR -> 1.3.0
  • 1.2.1-SNAPSHOT MINOR -> 1.3.0
  • 2.0.0-SNAPSHOT MAJOR -> 3.0.0
  • 2.0.1-SNAPSHOT MAJOR -> 3.0.0
  • 2.0.1-SNAPSHOT SNAPSHOT -> 2.0.1-SNAPSHOT
  • 2.0.1-SNAPSHOT CURRENT -> 2.0.1

If the project's version cannot be recognized by Maven's standard implementation of a version parser and the version is not explicitly stated, nothing is added.

  • Type: java.lang.String
  • Since: 1.0
  • Required: No
  • Expression: ${newVersion}
  • Default: CURRENT