Commit Graph

67 Commits

Author SHA1 Message Date
Romain Pelisse 79fc2f2c20 Use of bashisms make this script fail in minimal /bin/sh implementations like dash 2020-05-23 09:56:29 +02:00
Manfred Moser fc9c7743e3 added note about dash testing 2020-05-23 09:56:28 +02:00
Manfred Moser f530a7fb83 ammeded changelog 2020-05-23 09:56:27 +02:00
Manfred Moser 92e34542a4 Upgraded default Maven version to 3.5.0 2020-05-23 09:56:26 +02:00
Fred Bricon feac8c655c Add .DS_Store to .gitignore
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2020-05-23 09:56:25 +02:00
Fred Bricon 449d0c70ac updated wrapper maven version to 3.5.0
Signed-off-by: Fred Bricon <fbricon@gmail.com>
2020-05-23 09:56:24 +02:00
Manfred Moser 437912bdf2 added changelog entry about spaces fix 2020-05-23 09:56:23 +02:00
Manfred Moser fa9b9aba2f support spaces in folder names on nix, simplified from https://github.com/takari/maven-wrapper/pull/25 2020-05-23 09:56:22 +02:00
Manfred Moser 4235271419 changelog updates 2020-05-23 09:56:21 +02:00
Manfred Moser 54b22829ce fix to avoid usage of stale maven wrapper jar 2020-05-23 09:56:20 +02:00
Manfred Moser 3aeabdcd89 updated wrapper maven version to 3.3.9 2020-05-23 09:56:19 +02:00
Manfred Moser 55ee1e475c updated parent to latest release 2020-05-23 09:56:18 +02:00
Manfred Moser a3706dc378 updated to 0.2.0-SNAPSHOT as version due to number of changes 2020-05-23 09:56:17 +02:00
Manfred Moser ddf2786e6d upgraded provisio maven plugin 2020-05-23 09:56:15 +02:00
Manfred Moser f2f18877d5 one more PR merge and changelog update 2020-05-23 09:56:14 +02:00
Luke Lu 2ccae98c41 Quote paths in commands
Fix issue #31
2020-05-23 09:56:13 +02:00
Manfred Moser bf50858489 adding changelog 2020-05-23 09:56:12 +02:00
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
Dave Syer 022fedb1bf Be defensive about creating directories for files
Maven 3.4 snapshots are now being published with invalid
zip files, where the entries are listed before their parent.
So the logic in the Installer is faulty: you have to mkdirs()
on all entries to be sure that the directory exists before you
write the file.
2020-05-23 09:56:09 +02:00
Manfred Moser 75a200a66e upped version to new snapshot since 0.1.6 is already on central 2020-05-23 09:56:08 +02:00
Karsten Sperling 8a6480c20b Use Apple-recommended strategy for locating JAVA_HOME.
This works correctly with both Oracle and Apple JDKs.
2020-05-23 09:56:07 +02:00
Jason van Zyl 79440c9f15 Update release version 2020-05-23 09:56:06 +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
Jason van Zyl a13b42e611 Update to release version of parent 2020-05-23 09:56:03 +02:00
Tadaya Tsuyukubo 6c57c4c242 Remove whitespace (#22) 2020-05-23 09:56:02 +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
Anton Tanasenko 7fa99bcd49 handle MAVEN_PROJECTBASEDIR correctly in cygwin 2020-05-23 09:56:00 +02:00
Johnny Lim 7aacf412e5 Fix typo 2020-05-23 09:55:59 +02:00
Jason van Zyl 2d3acb12df Use org.apache.ant 2020-05-23 09:55:58 +02:00
Jason van Zyl 4737137772 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:55:57 +02:00
Jason van Zyl 5eeb65c86a [maven-release-plugin] prepare release maven-wrapper-0.1.4 2020-05-23 09:55:56 +02:00
Jason van Zyl 98b6027a2d Use working files to create wrapper jar
We had working copies and files in src/main/wrapper. People have been
patching the working copies and it's easier to just have the one copy.
2020-05-23 09:55:55 +02:00
Jason van Zyl f75e30123d [maven-release-plugin] prepare for next development iteration 2020-05-23 09:55:54 +02:00
Jason van Zyl 0fd5540261 [maven-release-plugin] prepare release maven-wrapper-0.1.3 2020-05-23 09:55:53 +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
Dan Rollo 307de3db85 super-mega minor typo 2020-05-23 09:55:49 +02:00
Dave Syer c35e352bdb Correct name of Windows script in README
Also adds a short section on how to fix the Maven version
2020-05-23 09:55:48 +02:00
Dave Syer cbb5886a8e 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-05-23 09:55:47 +02:00
Jason van Zyl a1b3a7b589 Add license stanza to POM 2020-05-23 09:55:46 +02:00
Jason van Zyl f4b454738b Add license file 2020-05-23 09:55:45 +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
Jason van Zyl 0aabf3e06a Fix typo 2020-05-23 09:55:43 +02:00
Jason van Zyl 36149e9309 Add a note about using the windows script 2020-05-23 09:55:42 +02:00
Jason van Zyl 7709755f92 Fix a few typos 2020-05-23 09:55:41 +02:00
Jason van Zyl 70d1052dbc Update the README.md with instructions 2020-05-23 09:55:39 +02:00
Jason van Zyl 5994302454 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:55:38 +02:00
Jason van Zyl 580d9beda4 [maven-release-plugin] prepare release maven-wrapper-0.1.2 2020-05-23 09:55:37 +02:00
Jason van Zyl 50938179cc Update properties path
Whatever
2020-05-23 09:55:36 +02:00