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
Michael Osipov
673a7d1fef
Trim trailing whitespace
2020-12-24 19:09:10 +01:00
rfscholte
3736be9c15
Updating version in preparation for Maven 4
2020-11-27 12:22:47 +01:00
Slawomir Jaranowski
ecfff2626c
[MNG-6993] Upgrade SLF4J to 1.7.30
...
This closes #380
2020-10-04 21:56:26 +02:00
PoojaChandak
fe26a18663
Update README
...
Closes #370
2020-08-25 13:56:57 +02:00
Benjamin Marwell
1f8e0732b8
Do not create empty file on error
2020-06-20 09:07:54 +02:00
liym@home
377fc8689c
Fixes alignment in settings.xml
2020-06-19 18:44:10 +02:00
olivier lamy
cde15f4ef2
fix mvnDebug which was not working anymore for unix
...
Signed-off-by: olivier lamy <olamy@apache.org>
2020-06-02 13:46:26 +10:00
rfscholte
66f795476b
[MNG-6919] drop wrapperUrl from maven-wrapper.properties
...
Ensure maven-wrapper can handle spaced paths
2020-05-27 22:57:34 +02:00
Sylwester Lachiewicz
c6c7311713
[MNG-6819] Undo unintended changes after rebase
2020-05-23 11:02:45 +02:00
碎镜
14c9e156bc
[MNG-6819] Fix NullPointerException in StringVisitorModelInterpolator
...
Closes #301
2020-05-23 10:07:16 +02:00
rfscholte
35e05e4972
[MNG-6914] Align mvn and mvnw scripts
2020-05-23 09:59:32 +02:00
Olivier Lamy
af1bf4c8b4
[MNG-6886] upgrade plexus-cipher to 1.8 and update changed groupId ( #335 )
...
Signed-off-by: olivier lamy <olamy@apache.org>
2020-04-10 09:17:25 +10:00
Hervé Boutemy
9ae008a67d
use https://repository.a.o/ for Apache SNAPSHOT plugins
2020-02-11 08:35:08 +01:00
Michael Osipov
45076f33a0
Improve license handling
...
* Stream line the output of the license listing
* Exclude jsoup from final distribution since we only need its license information
* Use proper SPDX ID for our license
This closes #317
2020-01-28 12:47:17 +01:00
Rostislav Krasny
da5d8b8f51
[MNG-6850] Prevent printing the EXEC_DIR when it's just a disk letter
...
This fixes following bug and also consistent with another 'cd /d "%EXEC_DIR%"' a few lines above.
When you're on the root of some disk running mvn.cmd prints an extra line with current dir before the correct output
Closes #304
2020-01-14 11:10:58 +01:00
Rostislav Krasny
9989e6ab6c
[MNG-6837] Simplify detection of the MAVEN_HOME and make it fully qualified on Windows
...
The removed 'stripMHome' recursive function is not needed anymore
This closes #307
2020-01-13 22:12:44 +01:00
Artem Krosheninnikov
735b72fcf1
[MNG-6844] Use StandardCharsets and remove outdated @SuppressWarnings
...
This closes #312
2020-01-09 18:09:44 +01:00
Martin Kanters
e48c067d44
Moved org.slf4j.impl.MavenLoggerFactoryTest to the correct submodule
2020-01-01 10:58:31 +01:00
Martin Kanters
d2510749d8
[MNG-6065] Create option --fail-on-severity
2019-12-27 10:56:55 +01:00
rfscholte
ead06d23d4
[maven-release-plugin] prepare for next development iteration
2019-11-19 20:17:36 +01:00
rfscholte
cecedd3430
[maven-release-plugin] prepare release maven-3.6.3
2019-11-19 20:17:06 +01:00
Enrico Olivelli
f8bd6d577e
[MNG-6771] Fix license issues on binary distribution
...
- Update slf4j to 1.7.29
- Do not download ASL v2 license files but copy from local
- add Jsoup license
- keep a specific copy of MIT license for each dependency
- Add NOTICE to binary distribution
- Add Eclipse SISU about.html contents
Patch co-authored by Hervé Boutemy and Enrico Olivelli
2019-11-18 09:00:04 +01:00
Christian Wansart
0c7c69f78b
[MNG-6778] - Use https for maven schemaLocations
2019-11-07 16:16:39 +01:00
Hervé Boutemy
fa97042f50
exclude IDE files that may pollute source archive
2019-11-03 18:07:58 +01:00
Hervé Boutemy
eca4905fcd
MNG-6781 fix sisu project url, which is invalid in pom
2019-10-13 17:58:33 +02:00
Hervé Boutemy
55572a4eb0
MNG-6779 jcl-over-slf4j is Apache 2.0, even if its pom says MIT
2019-10-13 17:19:26 +02:00
Enrico Olivelli
d9a0eee7fe
[maven-release-plugin] prepare for next development iteration
2019-08-27 16:59:23 +02:00
Enrico Olivelli
40f5233313
[maven-release-plugin] prepare release maven-3.6.2
2019-08-27 16:59:01 +02:00
Karl Heinz Marbaise
5222f03d05
[maven-release-plugin] prepare for next development iteration
2019-04-04 20:56:37 +02:00
Karl Heinz Marbaise
d66c9c0b31
[maven-release-plugin] prepare release maven-3.6.1
2019-04-04 20:56:16 +02:00
John Lin
375cd7b7ae
[MNG-6559] Fix mailing list URL ( #230 )
2019-01-13 22:36:47 +13:00
Christoph Etzel
a939654b76
[MNG-6256] Surround parameter of echo command with double quotes
...
Fixes #128 , #228
2019-01-08 22:22:34 +01:00
Sylwester Lachiewicz
eab62f169d
[MNG-6520] Update namespaces for maven-assembly to 2.0.0
...
Fixes #227
2019-01-07 12:11:58 +01:00
Hervé Boutemy
b5014bff78
removed extra # in generated content
2018-10-28 17:40:16 +01:00
Karl Heinz Marbaise
6e376d424e
[maven-release-plugin] prepare for next development iteration
2018-10-24 20:38:30 +02:00
Karl Heinz Marbaise
97c98ec64a
[maven-release-plugin] prepare release maven-3.6.0
2018-10-24 20:38:06 +02:00
Hervé Boutemy
c3dfa0f3d2
[MNG-6480] get non-Apache license from local resource
2018-09-17 07:50:12 +02:00
Hervé Boutemy
ed8bc6bc0e
[MNG-6358] improved licenses sources for inclusion
2018-09-16 17:52:34 +02:00
Hervé Boutemy
532eb24c3d
[MNG-6358] indented code for better understanding
2018-09-16 17:17:27 +02:00
Sylwester Lachiewicz
ce6cc5d008
[MNG-6414] Add more Apache license header patterns to skip downloading Apache license
...
Additional patterns for the Apache license exception list:
"Apache License, Version 2.0"
"The Apache Software License, Version 2.0"
"ASLv2"
"Apache Public License 2.0"
Fixes #167
2018-09-16 14:55:49 +02:00
Hervé Boutemy
10388b39ba
[MNG-6478] upgraded parent to 33 for sha512 checksum on release
2018-09-15 22:11:22 +02:00
Karl Heinz Marbaise
f87ba98abc
[MNG-6467] - Remove plugin definition from pom file which is inherited
2018-08-27 21:52:42 +02:00
Stephen Connolly
bf0bd6350e
Master is now on 3.6.0-SNAPSHOT
2018-06-17 22:38:49 +01:00
Stephen Connolly
1efd571b0a
[maven-release-plugin] prepare for next development iteration
2018-06-17 19:29:56 +01:00
Stephen Connolly
1edded0938
[maven-release-plugin] prepare release maven-3.5.4
2018-06-17 19:29:25 +01:00
Hervé Boutemy
2dbc6447e9
[MNG-6377] switch from Git-WIP to Gitbox
2018-03-19 23:24:03 +01:00
Stephen Connolly
85b4e3d8e8
[maven-release-plugin] prepare for next development iteration
2018-02-24 19:29:56 +00:00
Stephen Connolly
3383c37e1f
[maven-release-plugin] prepare release maven-3.5.3
2018-02-24 19:29:21 +00:00
Hervé Boutemy
0dc70cc691
upgrade m-site-p to 3.7 + Fluido 1.7 + edit button
2018-02-10 11:42:33 +01:00
Hervé Boutemy
e2bc17b508
[MNG-6282] removed workaround for MingW/GitBash detection
...
see https://github.com/fusesource/jansi-native/issues/11
2018-02-10 11:42:32 +01:00
Andrew Donald Kennedy
867e5d50be
[MNG-6255] Maven script cannot parse jvm.config with CRLF
...
Both \r and \n should also be replaced with a space to deal with CRLF line endings properly
2018-02-10 11:42:31 +01:00
Karl Heinz Marbaise
68a9d79671
[MNG-6332] Cleaned up mvn.cmd Script
2018-01-06 20:27:20 +01:00
Stephen Connolly
3d0efa3696
[maven-release-plugin] prepare for next development iteration
2017-10-18 08:55:05 +01:00
Stephen Connolly
138edd61fd
[maven-release-plugin] prepare release maven-3.5.2
2017-10-18 08:54:47 +01:00
Hervé Boutemy
c19e9dcac3
[MNG-6242] detect Cygwin/Mingw pseudo terminal for Jansi
2017-10-15 10:16:00 +02:00
Hervé Boutemy
eb2db7b286
[MNG-6196] updated slf4j to 1.7.25
...
[SLF4J-394] use new slf4j methods done for us
[SLF4J-395] use slf4j-simple System.out cache
2017-09-26 00:19:57 +02:00
Stephen Connolly
312eb53502
[maven-release-plugin] prepare for next development iteration
2017-09-10 12:51:43 +01:00
Stephen Connolly
094e4e31a5
[maven-release-plugin] prepare release maven-3.5.1
2017-09-10 12:51:26 +01:00