Commit Graph

7 Commits

Author SHA1 Message Date
Michal Domagala 6d30420438 remove unused MAVEN_CMD_LINE_ARGS 2020-05-23 09:56:11 +02:00
Andreas Ahlenstorf d3b347338a Fix path escaping
If `%MAVEN_PROJECTBASEDIR%` contained whitespaces, Windows couldn't find the maven-wrapper.jar because the whitespaces were considered as argument separators.
2020-05-23 09:56:10 +02:00
Kay-Uwe Janssen 2d8f4c5e3d use @REM instead of # (#27)
using # in .cmd files as comment issues the following error: `Der Befehl "#" ist entweder falsch geschrieben oder konnte nicht gefunden werden.` aka command not found
2020-05-23 09:56:05 +02:00
Manfred Moser 295826d697 avoid using MAVEN_CMD_LINE_ARGS for invocation since that can losse parameter escaping 2020-05-23 09:56:01 +02:00
Dave Syer 53eff03415 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-05-23 09:55:51 +02:00
Dave Syer ec3d0ccb90 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-05-23 09:55:50 +02:00
Andreas Gudian 040d343433 Remove some unused parts of the windows scripts and rename them to .cmd 2020-05-23 09:55:44 +02:00