Sorry if this has been asked before, but “maven” and “version” are difficult terms to pair with each other.
I’d like it if I could depend on maven version 3.0.4 and everyone’s maven simply update itself. Worse (but still usable) would be to simply require that everyone have a recent enough version of maven.
In the pom add
<prerequisites>
<maven>3.0.4</maven>
</prerequisites>
Or enforcer plugin: see http://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html