maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <>
Subject Re: Maven versions plugin: update property to specific value possible?
Date Thu, 06 Jun 2013 14:47:52 GMT
in a profile you could define the configuration for the plugin and specify
the `properties` (see
and then reference another property to define the range of valid values.

really rather hacky if you ask me... better to just use maven-antrun-plugin
to run a <replace> over the pom since you know what you are doing (one
hopes... note that what you are trying to do does not have a "maven way" so
you are going to need a big machette to cut the path you intend to follow)

On 6 June 2013 15:39, Markos Fragkakis <> wrote:

> Hi,
> I have found the mvn versions:update-properties target.
> mvn versions:update-properties -DincludeProperties={dependency1.version}
> However, the value being set is the last version for the specific
> dependency.
> Is it possible to specify the value for that property?
> i.e. something like the following:
> mvn versions:update-properties
> -DincludeProperties={dependency1.version=}
> Thanks,
> Markos

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