Commit Graph

23 Commits

Author SHA1 Message Date
Manfred Moser 8d0a19ab63 updated everything to version 0.5.0 2020-06-21 11:20:17 +02:00
Manfred Moser 9fcc635dbb usage of MVNW_REPOURL for wrapper download 2020-06-21 11:20:14 +02:00
Manfred Moser bca8bfd583 consistent usage of MVNW_USERNAME and MVWN_PASSWORD 2020-06-21 11:20:06 +02:00
Paul Stöhr 7c10128c12 use quoted string for filepath
to avoid 'file not found' message from Windows if path contains a space
2020-06-21 11:19:59 +02:00
Julian Hyde 99f860bb4f On Windows, use TLS 1.2
Github no longer supports TLS 1.0 or 1.1, but TLS 1.2 is not the default
version of TLS for PowerShell.
See https://github.com/cretueusebiu/valet-windows/issues/78#issuecomment-369824766

Also convert a couple of tabs to spaces, and remove a trailing space.
2020-06-21 11:19:52 +02:00
Vincent Jansen (v.jansen@blueriq.com) a7b7273b7c Download maven wrapper with authentication if availble 2020-06-21 11:19:46 +02:00
Manfred Moser 43bd236950 updated to wrapper 0.4.2 in prep of new release 2020-06-21 11:19:41 +02:00
Manfred Moser f1bc328dc2 added wrapper version in cmd 2020-06-21 11:19:39 +02:00
Manfred Moser f10e57852c updated to new wrapper version in default URLs 2020-06-21 11:19:24 +02:00
Manfred Moser b761d75d33 changed URL to official maven repo URL 2020-06-21 11:19:20 +02:00
Christofer Dutz 85b58d9641 Updated to the latest maven-wrapper version. 2020-06-21 11:19:13 +02:00
Christofer Dutz 03b48aeca8 Updated the download url to the https version 2020-06-21 11:19:12 +02:00
Christofer Dutz 25f27fc501 Fixed the windows version of the script 2020-06-21 11:19:10 +02:00
Christofer Dutz 5a145c8759 - 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-06-21 11:19:09 +02:00
Christofer Dutz 70e5171270 - Added a download extension for windows 2020-06-21 11:19:04 +02:00
H Pragt 93f6c7bdf3 set title of command window 2020-06-21 11:18:39 +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
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
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
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
Andreas Gudian ccf486b9e5 Remove some unused parts of the windows scripts and rename them to .cmd 2020-06-21 11:17:19 +02:00