Michael Osipov
0a8bd727ac
[MNG-7370] Upgrade Maven Wagon to 3.5.1
...
This closes #644
2021-12-28 22:20:45 +01:00
Michael Osipov
951b5ee95f
Fix SLF4J license link
2021-12-26 22:12:10 +01:00
Michael Osipov
6257b33142
[MNG-7193] Introduce MAVEN_ARGS environment variable
...
Add args directly after the class name and leave users the option to override
with maven.config or CLI args.
This closes #637
2021-12-21 10:29:19 +01:00
Michael Osipov
e6287b4701
Improve startup scripts
...
This closes #636
* Properly name jump labels for jvm.config in cmd
* Supply one arg per line
2021-12-20 21:24:40 +01:00
Hervé Boutemy
2f81b7d93b
[MNG-6914] move assembly descriptors to src/assembly
2021-10-16 19:44:39 +02:00
Hervé Boutemy
ede86ab4b6
[MNG-6914] move apache-maven-wrapper to its own separate Maven module
2021-10-16 19:44:39 +02:00
Hervé Boutemy
b58d8b3a4f
[MNG-6914] move mvnw scripts from maven/shared to wrapper/shared
2021-10-16 19:44:39 +02:00
Hervé Boutemy
5be4192ded
[MNG-6914] drop tar.gz archives for wrapper install distributions
2021-10-16 19:44:39 +02:00
Hervé Boutemy
bf59026554
[MNG-6914] rename MAVEN_LAUNCHER to LAUNCHER_CLASS (from LAUNCHER_JAR)
2021-10-16 19:44:39 +02:00
Hervé Boutemy
bb0fed9f40
[MNG-6914] rename .mvn hidden directory in source to mvn
2021-10-16 19:44:39 +02:00
Jonathan Dowland
8852b87412
[MNG-7270] Switch to shell alternative to "which"
...
In some circumstances the init script calls `which`, which may or may not be
available on the host system. Instead, use `command -v`, which is nearly
equivalent. One area it differs is if the command being queried is defined as
a shell alias. To avoid that, call `unset -f command` to avoid the situation
where "command" has been re-defined as a shell function.
See here for more information on this approach:
<https://pubs.opengroup.org/onlinepubs/009695399/utilities/command.html >
Tested with bash, sh (bash invoked as sh), posh, dash, zsh and mksh.
This closes #556
2021-10-11 22:17:23 +02:00
Hervé Boutemy
25796220ad
fix indentation
2021-10-10 19:36:15 +02:00
Michael Osipov
f50de4ce9e
[MNG-7210] Deprecate mavenrc_{pre,post}.{bat,cmd} scripts
...
This closes #545
2021-09-19 21:05:54 +02:00
Michael Osipov
8c297e93a3
[MNG-7254] Expand Windows native libraries for Jansi due to JDK-8195129 (workaround)
...
This closes #542
2021-09-16 22:11:08 +02:00
Michael Osipov
6b6589bf1c
[MNG-7219] [Regression] plexus-cipher missing from transitive dependencies
2021-09-14 19:21:08 +02:00
Tamas Cservenak
406c525ec4
[MNG-7250] Upgrade Sisu Inject/Plexus to 0.3.5
...
Since we have replaced the old JSR 250 library with javax.annotation library we
go straight to 1.3.2 because Maven Resolver 1.7.0 introduced this already as a
transitive dependency in fc806a25eb
.
The only difference between version 1.2 and 1.3.2 is a Java upgrade from 6 to 8.
This closes #539
2021-09-13 22:57:31 +02:00
Hervé Boutemy
92d2c2e3b4
[MNG-7209] Document user mavenrc.cmd in Windows command script
2021-08-20 02:26:03 +02:00
Hervé Boutemy
b20bfb1a08
[MNG-7208] Document system-wide mavenrc.cmd in Windows command script
2021-08-20 02:12:50 +02:00
Michael Osipov
0682a1cc0a
[MNG-7208] Introduce a system-wide mavenrc.cmd in Windows command script
...
This closes #523
2021-08-18 09:42:51 +02:00
Michael Osipov
48a9e04c5e
[MNG-7209] Introduce a user mavenrc.cmd in Windows command script
...
This closes #522
2021-08-18 09:40:47 +02:00
Michael Osipov
5acdfb6650
[MNG-7205] Simplify/unify Cygwin/MingGW handling in startup scripts
...
This closes #520
2021-08-02 21:09:55 +02:00
Michael Osipov
750cb6cb15
[MNG-7199] MAVENHOME_CONFIG var in mvnlauncher script improperly handles two options at once
...
This closes #518
2021-08-01 15:38:37 +02:00
Michael Osipov
06bc508727
[MNG-7198] Upgrade SLF4J to 1.7.32
2021-07-27 14:58:11 +02:00
Michael Osipov
52c12dab44
[MNG-7195] Rework JAVA_HOME handling
...
Adjust JAVA_HOME for mvnw and mvnwDebug
2021-07-26 00:39:38 +02:00
Michael Osipov
a21be1d231
[MNG-7195] Rework JAVA_HOME handling
...
Dramatically simplify/rework handling by leaving setting JAVA_HOME to
the user and try to load java(1) command from it. Technically Maven itself does
not require JAVA_HOME to be set. If not set, use java(1) command from
PATH on both Windows and POSIX-like systems.
This closes #514
2021-07-25 22:33:33 +02:00
Michael Osipov
6c67c9d0a6
[MNG-7197] Simplify exit code handling in Windows command startup script
...
This closes #512
2021-07-25 14:55:39 +02:00
Michael Osipov
5fa834f78b
[MNG-7010] Omit "NB: JAVA_HOME should point to a JDK not a JRE"
...
This closes #512
2021-07-25 14:23:00 +02:00
Michael Osipov
a2ab329edc
Warn also on Windows when JAVA_HOME isn't set
2021-07-23 21:05:33 +02:00
Michael Osipov
f7a775b79a
[MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does
...
This closes #511
2021-07-23 20:06:58 +02:00
Michael Osipov
1328d6ef7f
[MNG-7192] Remove unsed MAVEN_CMD_LINE_ARGS environment variable in startup scripts
...
This closes #492
2021-07-22 16:33:40 +02:00
Michael Osipov
6b37fcbda8
[MNG-7191] Remove undocumented environment variable MAVEN_CONFIG in startup scripts
2021-07-22 16:12:09 +02:00
Michael Osipov
b8cdac5573
[MNG-7189] Remove undocumented environment variable MAVEN_BASEDIR in startup scripts
...
This closes #490
2021-07-22 10:30:40 +02:00
Hervé Boutemy
2321e03a94
[MNG-7190] add /usr/local/etc/mavenrc to reference documentation
2021-07-20 22:41:03 +02:00
Michael Osipov
87120634a6
[MNG-7190] Load mavenrc from /usr/local/etc also in Bourne shell script
2021-07-19 23:56:22 +02:00
Michael Osipov
94df4a819a
Apply consistent formatting
2021-07-19 23:49:17 +02:00
Michael Osipov
e9a54c6d02
Use proper term: directory
2021-07-19 23:45:50 +02:00
Michael Osipov
e8b9cada65
Wrap line in consistency with Command script
2021-07-18 12:45:23 +02:00
Hervé Boutemy
1052ec5d87
[MNG-7184] document .mavenrc/mavenrc_pre.bat|cmd and MAVEN_SKIP_RC
2021-07-11 19:01:26 +02:00
Michael Osipov
78fc3734f9
Trim trailing whitespace
2021-07-02 18:47:10 +02:00
rfscholte
6bed162a65
[MNG-7172] Remove expansion of Jansi native libraries
2021-06-24 19:24:54 +02:00
Michael Osipov
fc806a25eb
[MNG-7151] Upgrade Maven Resolver to 1.7.0
2021-05-11 20:59:18 +02:00
Guillaume Nodet
195fb626a9
[MNG-7079] Upgrade to jansi 2.2.0 and mave-shared-utils 3.3.4
2021-05-04 13:02:49 +02:00
Guillaume Dufour
9ba84aabe2
[MNG-7149] Introduce MAVEN_DEBUG_ADDRESS in mvnDebug scripts
...
mvnDebug socket now binds by default on localhost:8000. set MAVEN_DEBUG_ADDRESS
environment variable to choose another address (host:port).
This closes #469
2021-05-02 18:01:59 +02:00
Guillaume Dufour
32cdc2ec3c
[MNG-7090] mvnDebug does not work on Java 11+
...
Submitted by: Guillaume Dufour
mvnDebug socket binds on 0.0.0.0
2021-04-25 18:40:15 +02:00
Hervé Boutemy
67125676ee
[MNG-7118] block HTTP repositories by default
2021-03-19 20:36:07 +01:00
Hervé Boutemy
d5f77a3f17
[MNG-6399] - Lift JDK minimum to JDK 8
2021-03-13 21:21:20 +01:00
Guillaume Nodet
bb916d0784
[MNG-7035] Migrate unit tests to Unit 5
...
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-01-15 15:07:06 +01:00
Michael Osipov
a2d29b221d
[MNG-7065] Ugrade global settings.xml to 1.1.0
2021-01-04 20:24:32 +01:00
Michael Osipov
6e82d871e5
[MNG-7064] Use HTTPS for schema location in global settings.xml
2021-01-04 20:07:46 +01:00
Michael Osipov
8eda091d4e
Replace tabs with proper count of spaces
2020-12-24 19:50:27 +01:00