I've just started to use the versions plugin.
Amazingly useful!

It'd be even more if I could get the update-parent goal to work as I need.

Here is what it does when I use it on my project:
mvn versions:update-parent
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'versions'.
[INFO]
------------------------------------------------------------------------
[INFO] Building commons
[INFO]    task-segment: [versions:update-parent]
[INFO]
------------------------------------------------------------------------
[INFO] [versions:update-parent]
[INFO] Updating parent from 3-SNAPSHOT to 2
...

I've read the rules for version numering in the FAQ, and this seems to be a
regular way of numbering my parent pom.
Why would it try to upgrade from 3-SNAPSHOT to 2?

More surprising: the result is the same if I run 'mvn versions:update-parent
-DparentVersion=3-SNAPSHOT'

I'd like to use the plugin so that every user get the latest SNAPSHOt of the
parent pom. 
Is there a way to do that?
How would you configure the plugin so that it executes at each mvn
execution? Or better, follow the regular Maven once-a-day update policy
applied to the dependencies.

cheers
-nodje

-- 
View this message in context: 
http://www.nabble.com/Versions%3Aupdate-parent-usage-tp21125090p21125090.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to