You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Stephen Connolly <st...@gmail.com> on 2010/05/22 02:26:08 UTC

[ANN] Versions Maven Plugin 1.2 released

The Mojo team is pleased to announce the release of the Versions Maven
Plugin, version 1.2.

The Versions Plugin has the following goals.

  * versions:display-dependency-
updates scans a project's
dependencies and produces a report of those dependencies which have
newer versions available.
  * versions:display-plugin-updates scans a project's plugins and
produces a report of those plugins which have newer versions
available.
  * versions:display-property-updates scans a projectand produces a
report of those properties which are used to control artifact versions
and which properies have newer versions available.
  * versions:update-parent updates the parent section of a project
so that it references the newest available version. For example, if
you use a corporate root POM, this goal can be helpful if you need to
ensure you are using the latest version of the corporate root POM.
  * versions:update-properties updates properties defined in a
project so that they correspond to the latest available version of
specific dependencies. This can be useful if a suite of dependencies
must all be locked to one version.
  * versions:update-child-modules updates the parent section of the
child modules of a project so the version matches the version of the
current project. For example, if you have an aggregator pom that is
also the parent for the projects that it aggregates and the children
and parent versions get out of sync, this mojo can help fix the
versions of the child modules. (Note you may need to invoke Maven with
the -N option in order to run this goal if your project is broken so
badly that it cannot build because of the version mis-match).
  * versions:lock-snapshots searches the pom for all -SNAPSHOT
versions and replaces them with the current timestamp version of that
-SNAPSHOT, e.g. -20090327.172306-4
  * versions:unlock-snapshots searches the pom for all timestamp
locked snapshot versions and replaces them with -SNAPSHOT.
  * versions:resolve-ranges finds dependencies using version ranges
and resolves the range to the specific version being used.
  * versuibs:set can be used to set the project version from the command
line.
  * versions:use-releases searches the pom for all -SNAPSHOT
versions which have been released and replaces them with the
corresponding release version.
  * versions:use-next-releases searches the pom for all non-SNAPSHOT
versions which have been a newer release and replaces them with the
next release version.
  * versions:use-latest-releases searches the pom for all
non-SNAPSHOT versions which have been a newer release and replaces
them with the latest release version.
  * versions:use-next-snapshots searches the pom for all
non-SNAPSHOT versions which have been a newer -SNAPSHOT version and
replaces them with the next -SNAPSHOT version.
  * versions:use-latest-snapshots searches the pom for all
non-SNAPSHOT versions which have been a newer -SNAPSHOT version and
replaces them with the latest -SNAPSHOT version.
  * versions:use-next-versions searches the pom for all versions
which have been a newer version and replaces them with the next
version.
  * versions:use-latest-versions searches the pom for all versions
which have been a newer version and replaces them with the latest
version.
  * versions:commit removes the pom.xml.versionsBackup files. Forms
one half of the built-in "Poor Man's SCM".
  * versions:revert restores the pom.xml files from the
pom.xml.versionsBackup files. Forms one half of the built-in "Poor
Man's SCM".

The artifacts have been deployed to the mojo repository and have been
mirrored to central.

The Mojo Team.

Release Notes - Maven 2.x Versions Plugin - Version 1.2


** Bug
    * [MVERSIONS-84] - "versions:set" fails to update dependencies when "-f"
option points to a file with more than one subfolder in its path
    * [MVERSIONS-86] - NullPointerException in
versions:display-dependency-updates with version range
    * [MVERSIONS-87] - missing text for property "report.description"
    * [MVERSIONS-88] - mvn versions:display-dependency-updates does not
consider snapshots even if they are in local repository
    * [MVERSIONS-89] - NPE when generating site:site
    * [MVERSIONS-90] - update snapshots mojos parameter configuration
incorrect and version increment logic is wrong
    * [MVERSIONS-99] - display-dependency-updates reports  dependencies with
ranges under wrong heading (when the range contains the latest version)
    * [MVERSIONS-100] - Misspelled goal on Verions Maven Plugin page
    * [MVERSIONS-105] - versions-maven-plugin display-plugin-updates fails
on 3.0-beta-1 while working on 3.0-alph-*


** New Feature
    * [MVERSIONS-92] - Add new mojo to set dependencies to a specific
version
    * [MVERSIONS-101] - Add processDependencies and
processDependencyManagement parameters to display-dependency-updates goal


Note: as of 01:26 IST (Irish Summer Time =  GMT+1h) 22/05/2010 the
versions-maven-plugin
has not
been pushed to maven central.  If you cannot wait the (at most) 24
hours for this sync, you can use the codehaus repository
(http://repository.codehaus.org/).