Commit Graph

398 Commits

Author SHA1 Message Date
Michael Osipov 8a928e59ac [MNG-7488] Upgrade SLF4J to 1.7.36 2022-05-30 22:50:54 +02:00
Tamas Cservenak 229cfc8bf6 [MNG-7466] Align assembly XSD version with plugin used (#728)
The component.xml was missed from original change.
2022-04-27 15:18:50 +02:00
Tamas Cservenak 7b86ce8534 [MNG-7466] Align assembly XSD version with plugin used (#728)
As title says, XSD is ancient old 2.0.0, while all
latest assembly plugins uses 2.1.0.

Not that this matters or changes anything at all,
this is more about correctness.
2022-04-27 15:17:03 +02:00
Tamas Cservenak 85caf98029 [MNG-7454] Include resolver-transport-http in Maven (#720)
Addendum to 1ad5a1b1e9bb0a17fc12bbe0314564a616078602:
* fix property name to align with existing ones
* fix logging configuration as no more shaded httpClient
* fix constant names
2022-04-16 18:21:48 +02:00
Tamas Cservenak 1ad5a1b1e9
[MNG-7454] Include resolver-transport-http in Maven 3.9.x (#710)
But keep Wagon as default transport. This PR merely includes
resolver http and file transport and switches wagon-http
to non-shaded one.

Changes:
* switch to non-shaded wagon-http (as httpClient is now shared)
* include resolver http and file transport
* override resolver default behaviour (native transport preferred over wagon, when both on classpath)
* provide simplistic means to choose transport

The chosen transport can be seen in debug (-X) output on line
`[DEBUG] Using transporter XXX...`

The `-Dmaven.transport` simplistic switch can be used to choose transport:
* not set: default, that is Wagon
* `wagon`: explicitly sets Wagon
* `resolver`: explicitly sets resolver native transports (file and http)
* `auto`: relies on resolver "auto discovery" (priorities, etc). This is MUST to keep transport pluggable with 3rd party transports. In fact, this was the default so far in Maven, along with the fact that native resolver transports were not included (as resolver prefers native ones over Wagon).
2022-04-13 12:51:19 +02:00
Michael Osipov 453c173713 [MNG-7247] Upgrade Maven Resolver to 1.7.2 2022-03-06 10:52:28 +01:00
Michael Osipov 78ca83e2a4 Bump version to 3.9.0-SNAPSHOT 2022-03-06 10:46:56 +01:00
Michael Osipov 0a6f12fba1 [maven-release-plugin] prepare for next development iteration 2022-03-05 12:41:16 +01:00
Michael Osipov 3599d3414f [maven-release-plugin] prepare release maven-3.8.5 2022-03-05 12:41:04 +01:00
Michael Osipov 100b17e1d7 [MNG-7370] Upgrade Maven Wagon to 3.5.1
This closes #644
2021-12-28 23:42:20 +01:00
Michael Osipov 8348d2bd0a Fix SLF4J license link 2021-12-26 22:15:01 +01:00
Michael Osipov 8af0a674db [maven-release-plugin] prepare for next development iteration 2021-11-14 10:14:54 +01:00
Michael Osipov 9b656c72d5 [maven-release-plugin] prepare release maven-3.8.4 2021-11-14 10:14:42 +01:00
Jonathan Dowland fb5f3f5b0f [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:51:09 +02:00
Michael Osipov b6186e2c77 Remove swap file 2021-09-27 22:16:35 +02:00
Michael Osipov 21e597ec77 [maven-release-plugin] prepare for next development iteration 2021-09-27 20:28:37 +02:00
Michael Osipov ff8e977a15 [maven-release-plugin] prepare release maven-3.8.3 2021-09-27 20:28:25 +02:00
Michael Osipov 8c66edc041 [MNG-7254] Expand Windows native libraries for Jansi due to JDK-8195129 (workaround)
This closes #542
2021-09-16 18:10:47 +02:00
Michael Osipov 1ea42b0371 [MNG-7219] [Regression] plexus-cipher missing from transitive dependencies 2021-09-14 19:23:22 +02:00
Tamas Cservenak e08834b79e [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.2.

This closes #539
2021-09-13 23:24:06 +02:00
Michael Osipov 547dfddb2e 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
2021-08-28 22:18:20 +02:00
Michael Osipov 865dcaa6ff [maven-release-plugin] prepare for next development iteration 2021-08-04 21:03:42 +02:00
Michael Osipov ea98e05a04 [maven-release-plugin] prepare release maven-3.8.2 2021-08-04 21:03:30 +02:00
Michael Osipov 7ecdb3c970 [MNG-7198] Upgrade SLF4J to 1.7.32 2021-07-27 15:02:01 +02:00
Michael Osipov f32eb09892 [MNG-7010] Omit "NB: JAVA_HOME should point to a JDK not a JRE"
This closes #512
2021-07-25 14:25:28 +02:00
Michael Osipov 22a8cfa059 [MNG-6648] 'mavenrc_pre' script does not receive arguments like mavenrc in Bourne shell does
This closes #511
2021-07-23 20:08:17 +02:00
Hervé Boutemy c395ca976d [MNG-7190] add /usr/local/etc/mavenrc to reference documentation 2021-07-20 22:42:11 +02:00
Michael Osipov 25df095829 [MNG-7190] Load mavenrc from /usr/local/etc also in Bourne shell script 2021-07-19 23:57:44 +02:00
Michael Osipov 268f956574 Use proper term: directory 2021-07-19 23:47:10 +02:00
Hervé Boutemy 0635e92665 [MNG-7184] document .mavenrc/mavenrc_pre.bat|cmd and MAVEN_SKIP_RC 2021-07-11 19:03:22 +02:00
Artem Krosheninnikov 9ae1d95a58 [MNG-6844] Use StandardCharsets and remove outdated @SuppressWarnings
This closes #312
2021-07-02 14:53:16 +02:00
Michael Osipov 8f58b85eaf [MNG-7064] Use HTTPS for schema location in global settings.xml 2021-07-02 14:13:26 +02:00
Guillaume Dufour 8edac61ae5 [MNG-7149] Introduce MAVEN_DEBUG_ADDRESS in mvnDebug scripts
mvnDebug socket now binds by default on 8000. set MAVEN_DEBUG_ADDRESS
environment variable to choose another address (host:port).

This closes #469
2021-07-02 13:59:53 +02:00
Olivier Lamy 41efc134a9 [MNG-6886] upgrade plexus-cipher to 1.8 and update changed groupId (#335)
Signed-off-by: olivier lamy <olamy@apache.org>
2021-07-02 10:28:16 +02:00
Slawomir Jaranowski d862fdd841 [MNG-6993] Upgrade SLF4J to 1.7.30
This closes #380
2021-07-02 10:23:24 +02:00
rfscholte 73f34c00d1 [MNG-7172] Remove expansion of Jansi native libraries 2021-06-30 21:19:41 +02:00
Rostislav Krasny 3a465e1477 [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
2021-06-26 23:47:23 +02:00
Rostislav Krasny 42c99b45e4 [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
2021-06-26 22:34:46 +02:00
rfscholte 5213f43df1 [maven-release-plugin] prepare for next development iteration 2021-03-30 19:15:13 +02:00
rfscholte 05c21c65bd [maven-release-plugin] prepare release maven-3.8.1 2021-03-30 19:14:35 +02:00
Hervé Boutemy a46906806a next version in branch 3.8.x is 3.8.1-SNAPSHOT 2021-03-24 19:33:13 +01:00
rfscholte dad8a3e1c5 [maven-release-plugin] prepare for next development iteration 2021-03-21 22:31:55 +01:00
rfscholte 6aa1f4acf5 [maven-release-plugin] prepare release maven-3.8.0 2021-03-21 22:31:24 +01:00
Hervé Boutemy 907d53ad32 [MNG-7118] block HTTP repositories by default 2021-03-19 20:45:18 +01:00
Michael Osipov 02bc2a69fc Add versionlessMavenDist profile 2021-03-16 18:00:20 +01:00
Michael Osipov e2891667dd Bump version to 3.8.0-SNAPSHOT 2021-03-16 17:59:50 +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