in a profile you could define the configuration for the plugin and specify
the `properties` (see
http://mojo.codehaus.org/versions-maven-plugin/update-properties-mojo.html#properties)
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 <[email protected]> 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=1.2.3.4}
>
> Thanks,
>
> Markos
>

Reply via email to