Q:

Controlling versions with Maven

I have 3 poms in my projects, 1 for parent and 2 for each of the modules in use.
Each pom currently contains <version>2.1.9.0-SNAPSHOT</version> tag
Is it possible for each of the modules to pull this information form the parent automatically?

A:

Use the versions-maven plugin as described here : https://stackoverflow.com/a/5726599/320180

