Overview

  • Introduction
  • Goals
  • Usage
  • FAQ
  • Version number rules

Examples

  • Advancing dependency versions
  • Comparing remote dependencies
  • Checking for new dependency updates
  • Checking for new plugin updates
  • Checking for new property-linked updates
  • Updating the Parent version
  • Updating a version specified in a property
  • Fixing a multi-module build
  • Resolve version ranges
  • Locking snapshot dependencies
  • Unlocking snapshot dependencies
  • Replacing -SNAPSHOT versions with their corresponding releases
  • Changing the project version

Reference

  • Version number comparison rule-sets
  • rule-1.0.0.xsd

Project Documentation

  • Project Information
  • Project Reports

spacer

versions:display-dependency-updates

Full name:

org.codehaus.mojo:versions-maven-plugin:1.3.1:display-dependency-updates

Description:

Displays all dependencies that have newer versions available.

Attributes:

  • Requires a Maven project to be executed.
  • 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).
processDependencies Boolean 1.2 Whether to process the dependencies section of the project. If not set will default to true.
processDependencyManagement Boolean 1.2 Whether to process the dependencyManagement section of the project. If not set will default to true.
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}

processDependencies:

Whether to process the dependencies section of the project. If not set will default to true.
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • Expression: ${processDependencies}

processDependencyManagement:

Whether to process the dependencyManagement section of the project. If not set will default to true.
  • Type: java.lang.Boolean
  • Since: 1.2
  • Required: No
  • Expression: ${processDependencyManagement}

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

gipoco.com is neither affiliated with the authors of this page nor responsible for its contents. This is a safe-cache copy of the original web site.