For a more updated version of this project take a look at: https://github.com/takari/maven-wrapper
Also, take a look at this Twitter thread, for other related projects.
This is a copy of the gradle wrapper ported for use with maven.
To run this build as an example run the 'mvnw' script at the root of this repo as you would normally run 'mvn' For example if you typically run
$ mvn clean install
then run
$ ./mvnw clean install