Commit Graph

244 Commits

Author SHA1 Message Date
Manfred Moser ebb8ba45a9 spelling fix 2020-05-23 09:57:53 +02:00
Manfred Moser 276169f24a updated to latest parent 2020-05-23 09:57:52 +02:00
Manfred Moser c5d75a1050 added link to fixed issue 2020-05-23 09:57:51 +02:00
Manfred Moser c4cc2d3b28 notes for next relase 2020-05-23 09:57:50 +02:00
Manfred Moser e90950c055 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:57:49 +02:00
Manfred Moser d4a33422cd [maven-release-plugin] prepare release maven-wrapper-0.4.0 2020-05-23 09:57:48 +02:00
Manfred Moser f161035dab added release date to changelog 2020-05-23 09:57:47 +02:00
Manfred Moser d6d69f8239 updated to new wrapper version in default URLs 2020-05-23 09:57:46 +02:00
Manfred Moser 8f865103eb dev and release help 2020-05-23 09:57:45 +02:00
Manfred Moser e77b971a68 adapted to honor the MVNW_VERBOSE flag 2020-05-23 09:57:44 +02:00
Manfred Moser f41375b44a added note about URL change 2020-05-23 09:57:42 +02:00
Manfred Moser 51e7e6476b changed URL to official maven repo URL 2020-05-23 09:57:41 +02:00
Manfred Moser 9a162b5be1 introduced intermediary var for path to jar since it didnt work without that in bash 2020-05-23 09:57:40 +02:00
Manfred Moser 89b4de72bd added author creds 2020-05-23 09:57:39 +02:00
Manfred Moser fafe416ac4 added user doc for no jar approach 2020-05-23 09:57:38 +02:00
Manfred Moser ed6d2b40e9 updated version 2020-05-23 09:57:37 +02:00
Manfred Moser 7c3e488204 updated to wrapper jar 0.3.0 2020-05-23 09:57:36 +02:00
Christofer Dutz d7ddce2525 Updated to the latest maven-wrapper version. 2020-05-23 09:57:35 +02:00
Christofer Dutz 75698b0a7c Updated the download url to the https version 2020-05-23 09:57:34 +02:00
Christofer Dutz e4986f65c2 Removed a hack to force the script to use curl or wget ... 2020-05-23 09:57:33 +02:00
Christofer Dutz 661e47170a Fixed the windows version of the script 2020-05-23 09:57:32 +02:00
Christofer Dutz 34c91b39c8 - Made the wrapperUrl configurable from the maven-wrapper.properties file
- 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)
2020-05-23 09:57:30 +02:00
Christofer Dutz a0dfc3eee4 - Changed the wget command to use "-O" instead of "--output-document=" 2020-05-23 09:57:29 +02:00
Christofer Dutz 87f298313c - Changed the curl and wget detection to the "possix way" using "command" 2020-05-23 09:57:28 +02:00
Christofer Dutz 50dcbb3bf0 - Added Apache header to the downloader java class 2020-05-23 09:57:27 +02:00
Christofer Dutz 5aa0e6fa9d - Added a download extension for windows 2020-05-23 09:57:26 +02:00
Christofer Dutz d14aa05699 - Made the script use curl or wget if available and fallback to java in case none of them are.
- Moved the Java source code to the filesystem.
2020-05-23 09:57:25 +02:00
Christofer Dutz a3787b7307 Cleaned up the code a little to not exit with 0 in case of an error. 2020-05-23 09:57:24 +02:00
Christofer Dutz 1a920c765e - Added an initial version of an auto-downloader for the maven-wrapper.jar 2020-05-23 09:57:23 +02:00
Manfred Moser 91dcd24b66 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:57:22 +02:00
Manfred Moser 190eb3516b [maven-release-plugin] prepare release maven-wrapper-0.3.0 2020-05-23 09:57:21 +02:00
Manfred Moser a38c44e5bd added chunk size change 2020-05-23 09:57:20 +02:00
Manfred Moser b05b99a663 added chunk size change 2020-05-23 09:57:18 +02:00
Manfred Moser 638f527d56 much less verbose progress reporting since it is now a new line each 2020-05-23 09:57:17 +02:00
Manfred Moser de9d99659b added warning about issues found from provisio upgrade 2020-05-23 09:57:16 +02:00
Manfred Moser 9e3ce6ed2d removed redundant empty element 2020-05-23 09:57:15 +02:00
Jeremy Landis 635e53e29b [pom] Update provision-maven-plugin to 0.1.50 2020-05-23 09:57:14 +02:00
Jeremy Landis a25a535e28 [pom] Update ant to 1.9.9 2020-05-23 09:57:13 +02:00
Jeremy Landis f5d20ba8d9 [pom] Update commons-io to 2.5 2020-05-23 09:57:12 +02:00
Jeremy Landis 89e610d387 [pom] Update mockito-core to 2.8.47 2020-05-23 09:57:11 +02:00
Jeremy Landis 0a7111ff74 [pom] Update junit to 4.12 2020-05-23 09:57:10 +02:00
Jeremy Landis 3dea57b388 [pom] Use empty relativePath
To prevent maven from issuing warnings if upper directory has a pom that
is unrelated.  The parent shouldn't be checked there but rather in .m2
first.
2020-05-23 09:57:09 +02:00
Manfred Moser 958418a2d1 upped version 2020-05-23 09:57:08 +02:00
Manfred Moser 6da17a72e2 added recent pr merges 2020-05-23 09:57:07 +02:00
Manfred Moser d841301e96 set to new maven version 2020-05-23 09:57:05 +02:00
Konstantin Sobolev 18e3d3ea0d fix to actually read the environment variable value 2020-05-23 09:57:04 +02:00
Konstantin Sobolev 68e102a63c respect MVNW_VERBOSE when printing diagnostic stuff 2020-05-23 09:57:03 +02:00
H Pragt 4d3985c4b3 set title of command window 2020-05-23 09:57:02 +02:00
Manfred Moser 8641c0521d wrapper file upgrade 2020-05-23 09:57:01 +02:00
Manfred Moser 8b57037e1e [maven-release-plugin] prepare for next development iteration 2020-05-23 09:57:00 +02:00
Manfred Moser a0e1c2fa64 [maven-release-plugin] prepare release maven-wrapper-0.2.3 2020-05-23 09:56:59 +02:00
Manfred Moser c60c49da95 update info on wrapper 2020-05-23 09:56:58 +02:00
Tadaya Tsuyukubo 8fc916cd9c Fix NPE due to missing MVNW_VERBOSE 2020-05-23 09:56:57 +02:00
Manfred Moser 179ee307a6 updated wrapper jar 2020-05-23 09:56:56 +02:00
Manfred Moser 67640d4056 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:56:55 +02:00
Manfred Moser 19f375f5f3 [maven-release-plugin] prepare release maven-wrapper-0.2.2 2020-05-23 09:56:54 +02:00
Manfred Moser 020545b5c6 added verbose mode activated with MVNW_VERBOSE set to true 2020-05-23 09:56:52 +02:00
Manfred Moser a71bd825ec cleaned up version output 2020-05-23 09:56:51 +02:00
Chris Boudreau 578496fe2f words are missing - I think this is what you mean... 2020-05-23 09:56:50 +02:00
Alexander Falb e1613568ee Fix typo 2020-05-23 09:56:49 +02:00
Manfred Moser 83d12ec075 added changelog entry, added Takari to output 2020-05-23 09:56:48 +02:00
Tadaya Tsuyukubo 2d87f1f673 Print out maven wrapper version at every invocation 2020-05-23 09:56:47 +02:00
Manfred Moser 567fccc729 formatting, added update via plugin 2020-05-23 09:56:46 +02:00
Manfred Moser eae47793df fixed version in changelog 2020-05-23 09:56:45 +02:00
Manfred Moser 8ab08b8c57 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:56:44 +02:00
Manfred Moser d3a389b57d [maven-release-plugin] prepare release maven-wrapper-0.2.1 2020-05-23 09:56:43 +02:00
Manfred Moser 348ee530e5 added changelog entry for java 1.5 change and release 2020-05-23 09:56:42 +02:00
Manfred Moser 1b903e7e8a added doc about Java version 2020-05-23 09:56:40 +02:00
Mark Chesney c6b60b2eed Ignore IntelliJ files 2020-05-23 09:56:39 +02:00
Mark Chesney ab9742e594 Make artifact compatible with older Java 2020-05-23 09:56:38 +02:00
Manfred Moser 557c8f95c6 improved wording on supported systems 2020-05-23 09:56:37 +02:00
Manfred Moser d104930a6b [maven-release-plugin] prepare for next development iteration 2020-05-23 09:56:36 +02:00
Manfred Moser c64b0f14ed [maven-release-plugin] prepare release maven-wrapper-0.2.0 2020-05-23 09:56:35 +02:00
Manfred Moser b0b56ae7d6 solaris support changelog entry and release date 2020-05-23 09:56:34 +02:00
Manfred Moser a23522d4ce added section about supported systems 2020-05-23 09:56:33 +02:00
Romain Pelisse afbc151906 fixing issue on Solaris
- removed use of 'local' for Solaris 11
- switched $() to  ...
2020-05-23 09:56:32 +02:00
Manfred Moser feb37317e6 upgraded parent 2020-05-23 09:56:31 +02:00
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
Jason van Zyl 01805863b4 [maven-release-plugin] prepare for next development iteration 2020-05-23 09:55:35 +02:00
Jason van Zyl c830673687 [maven-release-plugin] prepare release maven-wrapper-0.1.1 2020-05-23 09:55:34 +02:00
Jason van Zyl fcd0a69a15 Update location for searching for the version 2020-05-23 09:55:33 +02:00
Jason van Zyl 03bc10d19a [maven-release-plugin] prepare for next development iteration 2020-05-23 09:55:32 +02:00
Jason van Zyl 9fdaf2fa2c [maven-release-plugin] prepare release maven-wrapper-0.1.0 2020-05-23 09:55:31 +02:00
Jason van Zyl 5457a1bea2 Use a released version of provisio 2020-05-23 09:55:30 +02:00
Jason van Zyl d1bfe96618 Use provisio packaging to produce an archive that can be deployed for use in a Maven plugin 2020-05-23 09:55:29 +02:00
Jason van Zyl 5d40b536e3 Use the Maven 3.3.1 startup scripts to account for jvm.config and maven.config 2020-05-23 09:55:28 +02:00
Jason van Zyl 7bd43645a0 Use the now standard .mvn directory 2020-05-23 09:55:27 +02:00
Jason van Zyl 821bed19d6 Update the wrapper jar 2020-05-23 09:55:25 +02:00
Jason van Zyl 5deb2a60fc Make sure the maven.multiModuleProjectDirectory envar is set for proper 3.3.1+ execution 2020-05-23 09:55:24 +02:00
Jason van Zyl ff3e1148b2 Formatting 2020-05-23 09:55:23 +02:00
Jason van Zyl 2f07f99b51 Update to Maven 3.3.1 which resides in Maven Central 2020-05-23 09:55:22 +02:00
David Carver 3b0965dc82 Update properties file to point to maven 3.2.3
The properties file was pointing to 3.0.5 of maven, and the
latest version is now 3.2.3.  This commit updates to make sure
maven 3.2.3 is downloaded if if doesn't already exist.
2020-05-23 09:55:21 +02:00
bdemers 1457a7bd7f correcting README formatting 2020-05-23 09:55:20 +02:00
bdemers e210666f94 Adding simple README 2020-05-23 09:55:19 +02:00
bdemers df3fdc9d5c 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-05-23 09:55:18 +02:00