Commit Graph

248 Commits

Author SHA1 Message Date
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