maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Brechb├╝hl <rotscher...@gmail.com>
Subject Re: continuous releasing: versions:set and/or release:update-version to release an aggregator project
Date Fri, 02 Aug 2013 07:10:45 GMT
Hi Nestor

The version.override feature is not a plugin it's an extension to the maven
base installation. So,
http://search.maven.org/#artifactdetails|ch.rotscher.maven.core|maven-core-extensions|0.2.0|jarhas
to be installed to your
*MAVEN_HOME/lib/ext*.

The extension is then activated with *-Dversion.override* on the command
line. It changes the version on the fly but only for the current build and
without changing the pom file. There are several strategies on how the
version is "generated".

Beware, that the groupId of the root pom is taken into account whether the
version of a module or dependency should be changed to ${version.override}.
E.g. groupId is *com.foo.bar* then all modules/dependencies with
com.foo.bar and com.foo.bar.* are included. In other words the extension
assumes all modules/dependencies with the same base groupId to be in the
same reactor.

Cheers,
Rotsch

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message