versions:update-parent

Full name:

org.codehaus.mojo:versions-maven-plugin:1.3.1:update-parent

Description:

Sets the parent version to the latest parent version.

Attributes:

  • Requires a Maven project to be executed.
  • Executes by direct invocation only.
  • Since version: 1.0-alpha-1.

Optional Parameters

Name Type Since Description
allowSnapshots Boolean 1.0-alpha-1 Whether to allow snapshots when searching for the latest version of an artifact.
Default value is: false.
generateBackupPoms Boolean 1.0-alpha-3 Controls whether a backup pom should be created (default is true).
parentVersion String 1.0-alpha-1 Version specification to control artifact resolution.
rulesUri String 1.0-alpha-3 The Wagon URI of a ruleSet file containing the rules that control how to compare version numbers.
serverId String 1.0-alpha-3 settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
Default value is: serverId.

Parameter Details

allowSnapshots:

Whether to allow snapshots when searching for the latest version of an artifact.
  • Type: java.lang.Boolean
  • Since: 1.0-alpha-1
  • Required: No
  • Expression: ${allowSnapshots}
  • Default: false

generateBackupPoms:

Controls whether a backup pom should be created (default is true).
  • Type: java.lang.Boolean
  • Since: 1.0-alpha-3
  • Required: No
  • Expression: ${generateBackupPoms}

parentVersion:

Version specification to control artifact resolution.
  • Type: java.lang.String
  • Since: 1.0-alpha-1
  • Required: No
  • Expression: ${parentVersion}

rulesUri:

The Wagon URI of a ruleSet file containing the rules that control how to compare version numbers.
  • Type: java.lang.String
  • Since: 1.0-alpha-3
  • Required: No
  • Expression: ${maven.version.rules}

serverId:

settings.xml's server id for the URL. This is used when wagon needs extra authentication information.
  • Type: java.lang.String
  • Since: 1.0-alpha-3
  • Required: No
  • Expression: ${maven.version.rules.serverId}
  • Default: serverId