maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DK <desmond.kirr...@gmail.com>
Subject allowMajorUpdates for mvn versions:update-properties
Date Wed, 01 May 2013 12:43:19 GMT
Hi,

I have a number of dependency versions defined as properties. 
For good reason. The version properties are used in both the <dependencies>
and rpm build section of the pom.xml

So, as part of a release I only want to update to the next minor version for
this property.

For example, use-latest-versions allows this with:
mvn versions:use-latest-versions -DallowSnapshots -DallowMajorUpdates=false 


update-properties doesn'tt seem to support this:
http://mojo.codehaus.org/versions-maven-plugin/update-properties-mojo.html
Any other option?



--
View this message in context: http://maven.40175.n5.nabble.com/allowMajorUpdates-for-mvn-versions-update-properties-tp5754676.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message