Commit Graph

101 Commits

Author SHA1 Message Date
Manfred Moser c3d69ec5b5 adding changelog 2020-06-21 11:17:48 +02:00
Michal Domagala 27eabec6c6 remove unused MAVEN_CMD_LINE_ARGS 2020-06-21 11:17:47 +02:00
Andreas Ahlenstorf c61dabfe94 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-06-21 11:17:46 +02:00
Dave Syer 9621b2aaff 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-06-21 11:17:45 +02:00
Manfred Moser ec6db49837 upped version to new snapshot since 0.1.6 is already on central 2020-06-21 11:17:44 +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
Jason van Zyl 8a3714dd09 Update release version 2020-06-21 11:17:41 +02:00
Kay-Uwe Janssen 636a1a6a66 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-06-21 11:17:40 +02:00
Jason van Zyl 999b2e8b84 Update to release version of parent 2020-06-21 11:17:39 +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
Johnny Lim 325dd71901 Fix typo 2020-06-21 11:17:35 +02:00
Jason van Zyl 9649876244 Use org.apache.ant 2020-06-21 11:17:34 +02:00
Jason van Zyl a9de0f7074 [maven-release-plugin] prepare for next development iteration 2020-06-21 11:17:32 +02:00
Jason van Zyl 781551133f [maven-release-plugin] prepare release maven-wrapper-0.1.4 2020-06-21 11:17:31 +02:00
Jason van Zyl 978ad9ea34 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-06-21 11:17:30 +02:00
Jason van Zyl c3629669d2 [maven-release-plugin] prepare for next development iteration 2020-06-21 11:17:29 +02:00
Jason van Zyl 9959135cf1 [maven-release-plugin] prepare release maven-wrapper-0.1.3 2020-06-21 11:17:28 +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
Dan Rollo 763a2b2a9b super-mega minor typo 2020-06-21 11:17:25 +02:00
Dave Syer a31d5b0323 Correct name of Windows script in README
Also adds a short section on how to fix the Maven version
2020-06-21 11:17:23 +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 252caf7fa0 Add license stanza to POM 2020-06-21 11:17:21 +02:00
Jason van Zyl 2d36e2a420 Add license file 2020-06-21 11:17:20 +02:00
Andreas Gudian ccf486b9e5 Remove some unused parts of the windows scripts and rename them to .cmd 2020-06-21 11:17:19 +02:00
Jason van Zyl a111c65d5c Fix typo 2020-06-21 11:17:18 +02:00
Jason van Zyl 8b5a696806 Add a note about using the windows script 2020-06-21 11:17:17 +02:00
Jason van Zyl 00c691df85 Fix a few typos 2020-06-21 11:17:16 +02:00
Jason van Zyl 90b5c10bf6 Update the README.md with instructions 2020-06-21 11:17:14 +02:00
Jason van Zyl fc68fd6faa [maven-release-plugin] prepare for next development iteration 2020-06-21 11:17:13 +02:00
Jason van Zyl e630603439 [maven-release-plugin] prepare release maven-wrapper-0.1.2 2020-06-21 11:17:12 +02:00
Jason van Zyl 79e6e17f7f Update properties path
Whatever
2020-06-21 11:17:11 +02:00
Jason van Zyl d64377a7fa [maven-release-plugin] prepare for next development iteration 2020-06-21 11:17:10 +02:00
Jason van Zyl 6e98e46afd [maven-release-plugin] prepare release maven-wrapper-0.1.1 2020-06-21 11:17:09 +02:00
Jason van Zyl 8d82d0e0fb Update location for searching for the version 2020-06-21 11:17:07 +02:00
Jason van Zyl f129f913b4 [maven-release-plugin] prepare for next development iteration 2020-06-21 11:17:06 +02:00
Jason van Zyl 3b64300be9 [maven-release-plugin] prepare release maven-wrapper-0.1.0 2020-06-21 11:17:05 +02:00
Jason van Zyl 0c157e1393 Use a released version of provisio 2020-06-21 11:17:04 +02:00
Jason van Zyl 8e97812c60 Use provisio packaging to produce an archive that can be deployed for use in a Maven plugin 2020-06-21 11:17:03 +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
Jason van Zyl 1c97b4025b Update the wrapper jar 2020-06-21 11:17:00 +02:00
Jason van Zyl 1cd6b2f185 Make sure the maven.multiModuleProjectDirectory envar is set for proper 3.3.1+ execution 2020-06-21 11:16:58 +02:00
Jason van Zyl f18d4302c0 Formatting 2020-06-21 11:16:57 +02:00
Jason van Zyl c4ab161b7d Update to Maven 3.3.1 which resides in Maven Central 2020-06-21 11:16:56 +02:00
David Carver 5136195fbe 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-06-21 11:16:55 +02:00
bdemers d9c472da6c correcting README formatting 2020-06-21 11:16:54 +02:00
bdemers fbcb4e967c Adding simple README 2020-06-21 11:16:53 +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