Commit Graph

17 Commits

Author SHA1 Message Date
Manfred Moser 70f1adc9f8 added verbose mode activated with MVNW_VERBOSE set to true 2020-06-21 11:18:29 +02:00
Alexander Falb 7773b68254 Fix typo 2020-06-21 11:18:26 +02:00
Romain Pelisse 4f373647a9 fixing issue on Solaris
- removed use of 'local' for Solaris 11
- switched $() to  ...
2020-06-21 11:18:08 +02:00
Romain Pelisse 2ffb15c84a Use of bashisms make this script fail in minimal /bin/sh implementations like dash 2020-06-21 11:18:06 +02:00
Manfred Moser bd285306d5 support spaces in folder names on nix, simplified from https://github.com/takari/maven-wrapper/pull/25 2020-06-21 11:17:58 +02:00
Luke Lu 9d47c124ec Quote paths in commands
Fix issue #31
2020-06-21 11:17:49 +02:00
Michal Domagala 27eabec6c6 remove unused MAVEN_CMD_LINE_ARGS 2020-06-21 11:17:47 +02:00
Karsten Sperling b952d3628d Use Apple-recommended strategy for locating JAVA_HOME.
This works correctly with both Oracle and Apple JDKs.
2020-06-21 11:17:42 +02:00
Tadaya Tsuyukubo b1564e34aa Remove whitespace (#22) 2020-06-21 11:17:38 +02:00
Manfred Moser 7589e43f57 avoid using MAVEN_CMD_LINE_ARGS for invocation since that can losse parameter escaping 2020-06-21 11:17:37 +02:00
Anton Tanasenko b55dfdd479 handle MAVEN_PROJECTBASEDIR correctly in cygwin 2020-06-21 11:17:36 +02:00
Dave Syer 218ebcaea8 Use basedir location instead of "." to locate wrapper jar
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
2020-06-21 11:17:27 +02:00
Dave Syer b607a31165 Align Un*x and Windows scripts to both use MAVEN_CONFIG consistently
Tested on Ubuntu 14.04 and Windows 7 64bit.

Fixes gh-3
2020-06-21 11:17:26 +02:00
Dave Syer 10296a8036 Fix while loop so that basedir is detected in current dir
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).
2020-06-21 11:17:22 +02:00
Jason van Zyl 073ed72c89 Use the Maven 3.3.1 startup scripts to account for jvm.config and maven.config 2020-06-21 11:17:02 +02:00
Jason van Zyl a84a48feb2 Use the now standard .mvn directory 2020-06-21 11:17:01 +02:00
bdemers a850495296 A copy of the gradle wrapper ported for use with maven
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
2020-06-21 11:16:52 +02:00