Open pont-us opened 3 years ago
Don't use wrapper.
Maven is good, because any project work with any (more or less recent) version of maven.
Maven wrapper is done after Gradle wrapper. Maybe is useful to experiment with some newest maven betas. But maven value is that it just works for current 3.x version
https://github.com/takari/maven-wrapper
Not very well explained on the project page but AFAICT it provides a script that automatically downloads (a specific version of) Maven, ensuring that the project gets built with a compatible Maven version and removing the need for Maven as a dependency. Comment at the top of the script says that
JAVA_HOME
needs to be set, but looking at the script itself this seems incorrect – it's sufficient to havejavac
in the search path.