2008/12/22 nodje <[email protected]>

> 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.
>

That cannot ever work...

Maven reads the pom when it starts... versions-maven-plugin changes the
pom... the pom on disk will not be the same as the pom that maven read in
before running versions-maven-plugin.

You *always* have to run versions-maven-plugin on its own...

e.g.

mvn versions:update-parent -DallowSnapshots=true
mvn clean install

Binding it to a phase will not do what you think it should do!

Reply via email to