- Updated and tested the linux/unix/mac version of the script
- Updated and tested the Java downloader
- Updated the windows cmd (but not tested yet)
(Need to test the changes to the windows command on a windows machine)
The wrapper script has detected a .mvn directory, so it would be
better to assume that this is the location of the wrapper jar,
rather than the current directory (.). This change could be
enhanced by adding a separate detection loop for the jar itself
as opposed to the .mvn directory, but this is the smallest
possible change that fixes the bug.
Fixes gh-5
There was a problem with the logic in the while loop that detects
the base dir - it should first look in the current directory,
otherwise you can't build in a directory with local settings because
it will always climb up and find .mvn in a parent directory (e.g. user's
home).
Lightly touched to better mesh with current maven builds. (some of which my not have been necessary in hind sight)
Test it out with this build, run: "./mvnw clean install" at the root of this repo
This will download, install, and run maven 3.0.5 (as configured in maven/wrapper/maven-wrapper.properties)
NOTE: windows batch file is NOT tested
TODO:
* Possibly extract these bits out into something both gradle and maven (and others) can use
* Port gradle IT's to this build
* See if anyone is interested in this project