Fork me on GitHub

versions:display-dependency-updates

Full name:

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

Description:

Displays all dependencies that have newer versions available. It will also display dependencies which are used by a plugin or defined in the plugin within a pluginManagement.

Attributes:

  • Requires a Maven project to be executed.
  • Since version: 1.0-alpha-1.

Optional Parameters

Name Type Since Description
<allowAnyUpdates> boolean 2.5 Deprecated. This will be removed with version 3.0.0
Default value is: true.
User property is: allowAnyUpdates.
<allowIncrementalUpdates> boolean 2.5 Whether to allow the incremental version number to be changed. You need to set allowMinorUpdates to false to get this configuration gets control.
Default value is: true.
User property is: allowIncrementalUpdates.
<allowMajorUpdates> boolean 2.5 Whether to allow the major version number to be changed. You need to set allowAnyUpdates to false to get this configuration gets control.
Default value is: true.
User property is: allowMajorUpdates.
<allowMinorUpdates> boolean 2.5 Whether to allow the minor version number to be changed. You need to set allowMajorUpdates to false to get this configuration gets control.
Default value is: true.
User property is: allowMinorUpdates.
<allowSnapshots> boolean 1.0-alpha-1 Whether to allow snapshots when searching for the latest version of an artifact.
Default value is: false.
User property is: allowSnapshots.
<generateBackupPoms> boolean 1.0-alpha-3 Controls whether a backup pom should be created.
Default value is: true.
User property is: generateBackupPoms.
<logOutput> boolean 2.2 Controls whether the display output is logged to the console.
Default value is: true.
User property is: versions.logOutput.
<outputEncoding> String 2.2 The character encoding to use when writing to outputFile.
Default value is: ${project.reporting.outputEncoding}.
User property is: outputEncoding.
<outputFile> File 2.2 If specified then the display output will be sent to the specified file.
User property is: versions.outputFile.
<processDependencies> boolean 1.2 Whether to process the dependencies section of the project.
Default value is: true.
User property is: processDependencies.
<processDependencyManagement> boolean 1.2 Whether to process the dependencyManagement section of the project.
Default value is: true.
User property is: processDependencyManagement.
<processPluginDependencies> boolean 2.5 Whether to process the dependencies sections of plugins.
Default value is: true.
User property is: processPluginDependencies.
<processPluginDependenciesInPluginManagement> boolean 2.5 Whether to process the dependencies sections of plugins which are defined in pluginManagement.
Default value is: true.
User property is: processPluginDependenciesInPluginManagement.
<rulesUri> String 1.0-alpha-3 URI of a ruleSet file containing the rules that control how to compare version numbers. The URI could be either a Wagon URI or a classpath URI (e.g. classpath:///package/sub/package/rules.xml).
User property is: maven.version.rules.
<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.
User property is: maven.version.rules.serverId.
<verbose> boolean 2.1 Whether to show additional information such as dependencies that do not need updating. Defaults to false.
Default value is: false.
User property is: verbose.

Parameter Details

<allowAnyUpdates>

Deprecated. This will be removed with version 3.0.0
Whether to allow any version change to be allowed. This keeps compatibility with previous versions of the plugin. If you set this to false you can control changes in version number by allowMajorUpdates, allowMinorUpdates or allowIncrementalUpdates.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: allowAnyUpdates
  • Default: true

<allowIncrementalUpdates>

Whether to allow the incremental version number to be changed. You need to set allowMinorUpdates to false to get this configuration gets control.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: allowIncrementalUpdates
  • Default: true

<allowMajorUpdates>

Whether to allow the major version number to be changed. You need to set allowAnyUpdates to false to get this configuration gets control.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: allowMajorUpdates
  • Default: true

<allowMinorUpdates>

Whether to allow the minor version number to be changed. You need to set allowMajorUpdates to false to get this configuration gets control.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: allowMinorUpdates
  • Default: true

<allowSnapshots>

Whether to allow snapshots when searching for the latest version of an artifact.
  • Type: boolean
  • Since: 1.0-alpha-1
  • Required: No
  • User Property: allowSnapshots
  • Default: false

<generateBackupPoms>

Controls whether a backup pom should be created.
  • Type: boolean
  • Since: 1.0-alpha-3
  • Required: No
  • User Property: generateBackupPoms
  • Default: true

<logOutput>

Controls whether the display output is logged to the console.
  • Type: boolean
  • Since: 2.2
  • Required: No
  • User Property: versions.logOutput
  • Default: true

<outputEncoding>

The character encoding to use when writing to outputFile.
  • Type: java.lang.String
  • Since: 2.2
  • Required: No
  • User Property: outputEncoding
  • Default: ${project.reporting.outputEncoding}

<outputFile>

If specified then the display output will be sent to the specified file.
  • Type: java.io.File
  • Since: 2.2
  • Required: No
  • User Property: versions.outputFile

<processDependencies>

Whether to process the dependencies section of the project.
  • Type: boolean
  • Since: 1.2
  • Required: No
  • User Property: processDependencies
  • Default: true

<processDependencyManagement>

Whether to process the dependencyManagement section of the project.
  • Type: boolean
  • Since: 1.2
  • Required: No
  • User Property: processDependencyManagement
  • Default: true

<processPluginDependencies>

Whether to process the dependencies sections of plugins.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: processPluginDependencies
  • Default: true

<processPluginDependenciesInPluginManagement>

Whether to process the dependencies sections of plugins which are defined in pluginManagement.
  • Type: boolean
  • Since: 2.5
  • Required: No
  • User Property: processPluginDependenciesInPluginManagement
  • Default: true

<rulesUri>

URI of a ruleSet file containing the rules that control how to compare version numbers. The URI could be either a Wagon URI or a classpath URI (e.g. classpath:///package/sub/package/rules.xml).
  • Type: java.lang.String
  • Since: 1.0-alpha-3
  • Required: No
  • User Property: 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
  • User Property: maven.version.rules.serverId
  • Default: serverId

<verbose>

Whether to show additional information such as dependencies that do not need updating. Defaults to false.
  • Type: boolean
  • Since: 2.1
  • Required: No
  • User Property: verbose
  • Default: false