Commit Graph

514 Commits

Author SHA1 Message Date
Guillaume Nodet 0b3246381d
Remove useless @author tags (#1226)
This information is usually more accurately given by the GIT history
2023-09-06 10:39:32 +02:00
Guillaume Nodet 06938249a7
[MNG-7792] Use a standalone asm version (#1126) 2023-09-05 23:09:03 +02:00
Guillaume Nodet e39142b77a
[MNG-7830] Switch from plexus-xml to stax / woodstox (#1185) 2023-06-29 12:03:50 +02:00
Guillaume Nodet 5b540821f2 [maven-release-plugin] prepare for next development iteration 2023-06-24 10:52:55 +02:00
Guillaume Nodet bf699a388c [maven-release-plugin] prepare release maven-4.0.0-alpha-7 2023-06-24 10:52:47 +02:00
Guillaume Nodet a279289bc3 [maven-release-plugin] prepare for next development iteration 2023-06-23 15:08:35 +02:00
Guillaume Nodet a3f0f12fab [maven-release-plugin] prepare release maven-4.0.0-alpha-6 2023-06-23 15:08:27 +02:00
Guillaume Nodet fb612f5dbc
[MNG-6112] Make central update policy coherent (#1142) 2023-06-19 17:06:01 +02:00
Guillaume Nodet 229b31b626
[MNG-4645] Move Central repo definition out of Maven's core so it can be more easily changed (#1139)
Co-authored-by: Christian Schulte <schulte@apache.org>
2023-06-19 17:04:04 +02:00
Guillaume Nodet 0a8491c329
[MNG-7814] Use location tracking for settings (#1164) 2023-06-19 12:39:14 +02:00
Tamas Cservenak 00d350eaca
Update build plugind (#1166)
Changes:
* buildnumber 1.4 -> 3.2.0
* buildhelper 1.12 -> 3.4.0
* checksum ? -> 1.11
* japicmp 0.16 -> 0.17.2
2023-06-15 15:10:27 +02:00
Guillaume Nodet e08c95a673
[MNG-7655] Switch to plexus-utils / plexus-xml 4 (#1093) 2023-06-04 21:03:41 +02:00
Karl Heinz Marbaise c49c4e0b18
[MNG-7451] - Remove public modifier from test methods / test classes 2023-04-15 19:24:20 +02:00
Guillaume Nodet 8052c720e7 [maven-release-plugin] prepare for next development iteration 2023-03-15 17:06:58 +01:00
Guillaume Nodet 26d10a4bf9 [maven-release-plugin] prepare release maven-4.0.0-alpha-5 2023-03-15 17:06:43 +01:00
Guillaume Nodet ade97d5a69
[MNG-7697] Fix assembly which should not include plexus-utils-3.5.0 (#1057) 2023-03-15 13:12:48 +01:00
Tamas Cservenak f9ea10688c
Add bin packages to SHA512 checksumming as well (#978)
Not only src but bin needs SHA512 as well. Plugin now does:
```
[INFO] --- checksum:1.11:artifacts (source-release-checksum) @ apache-maven ---
[INFO] apache-maven-4.0.0-alpha-5-SNAPSHOT-bin.tar.gz - SHA-512 : 2ee4c27ff611852caffab6543582918c06d900da184cdd389e64bae05fb8a2ac959edf27a946c60c9129c87baa6ec593a64d25edf3739339dd3f8d3d7942c7db
[INFO] apache-maven-4.0.0-alpha-5-SNAPSHOT-bin.zip - SHA-512 : 078667f3aad060163cad692eab7ced00fa377ba3a89f43431b23bd5248fc1603d3668cd68a7f096abcbc460ef4fbb47981b6bf5acc236a522e40fd700bb415c6
[INFO] apache-maven-4.0.0-alpha-5-SNAPSHOT-src.tar.gz - SHA-512 : ad2ca325ef138389fa967bde5e176a2447b5dd9e7edfa5cd1bf3f586fd39b93a1d415b55bb41b29e996104a4e14d4ef5fcc0e2c2eff65609121595f2695c96d4
[INFO] apache-maven-4.0.0-alpha-5-SNAPSHOT-src.zip - SHA-512 : 060de415118365954918079c73bf0ecc5d1ea8989b1864b32e3ebccd94306263878805c6d997d6c4a69700ebedd6fe42485a3692570c6466deb5e1be136e3e3e
```
2023-02-01 08:17:09 +01:00
Tamas Cservenak 489e4e6526 [MNG-7676] Fix checksum plugin configuration (#977)
Wrong goal is being used that does not honor classifiers. Also,
have to reshuffle the config, move it inside execution otherwise
ASF parent pom execution is NOT overridden.

---

https://issues.apache.org/jira/browse/MNG-7676
2023-01-31 13:22:31 +01:00
Guillaume Nodet fbeefb85ab [maven-release-plugin] prepare for next development iteration 2023-01-27 16:33:47 +01:00
Guillaume Nodet 009cf4a721 [maven-release-plugin] prepare release maven-4.0.0-alpha-4 2023-01-27 16:33:38 +01:00
Tamas Cservenak 38b447b85f
Get rid of surefire warning (#966)
* Get rid of surefire warning

As we use deprecated configuration.

* Fix it
2023-01-25 15:22:26 +01:00
Guillaume Nodet 8150c62749 [MNG-7650] Reformat 2022-12-26 16:12:32 +01:00
Michael Osipov 29f96a359a Update bundled license for SLF4J 2022-12-20 11:19:42 +01:00
Michael Osipov 828de7e1a8 [MNG-7621] Parameter '-f' causes ignoring any 'maven.config' (only on Windows)
This closes #905
2022-12-16 22:35:28 +01:00
Guillaume Nodet 0e82026f2a [maven-release-plugin] prepare for next development iteration 2022-12-12 11:37:35 +01:00
Guillaume Nodet 2ccf57baa5 [maven-release-plugin] prepare release maven-4.0.0-alpha-3 2022-12-12 11:36:07 +01:00
Guillaume Nodet de19cfcd2b [MNG-7601] Reformat sources 2022-11-22 14:26:01 +01:00
Michael Osipov 9c60138915 [MNG-7556] Clean up notion between user properties and system properties
This closes #810
2022-10-29 20:44:15 +02:00
Guillaume Nodet 77312f323b [maven-release-plugin] prepare for next development iteration 2022-10-15 01:41:39 +02:00
Guillaume Nodet c07700ffc9 [maven-release-plugin] prepare release maven-4.0.0-alpha-2 2022-10-15 01:41:31 +02:00
Guillaume Nodet 66851463f6 [maven-release-plugin] prepare for next development iteration 2022-10-14 22:57:05 +02:00
Guillaume Nodet 0d973fb624 [maven-release-plugin] prepare release maven-4.0.0-alpha-1 2022-10-14 22:36:41 +02:00
Guillaume Nodet 2a9f39336c
[MNG-7553] New clean API with immutable model (#703) 2022-10-02 10:41:25 +02:00
Sylwester Lachiewicz 5502c0c8db [MNG-7502] Upgrade to Guice 5.1.0 2022-09-10 21:27:25 +02:00
Michael Osipov e296400fa5 [MNG-7520] Simplify integration of Redisson and Hazelcast for Maven Resolver
Co-authored-by: Jacques-Etienne Beaudet <jebeaudet@gmail.com>

This closes #776
2022-08-23 21:41:57 +02:00
Marc Wrobel 5ce5591ae3 Fix minor typos
Fix various minor typos in :

- project documentations,
- javadoc and comments,
- test files.
2022-07-18 19:22:19 +02:00
Rafael Chaves 8ff8ebcaea [MNG-7515] Cannot see a dependency tree for apache-maven module
This closes #770
2022-07-18 18:01:23 +02:00
Michael Osipov 3d45167203 [MNG-7488] Upgrade SLF4J to 1.7.36 2022-05-30 23:07:00 +02:00
Tamas Cservenak ca9aa8f4f3
[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:14:24 +02:00
Tamas Cservenak 551009ab49
[MNG-7454] Include resolver-transport-http in Maven (#720)
Addendum to be2b7f890d98af20eb0753650b6605a68a97ac05:
* fix property name to align with existing ones
* fix logging configuration as no more shaded httpClient
* fix constant names
2022-04-16 18:19:23 +02:00
Tamas Cservenak be2b7f890d
[MNG-7454] Include resolver-transport-http in Maven (#711)
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:37 +02:00
Michael Osipov e8c35ae4ab [MNG-7206] Properly prioritize JVM options from MAVEN_OPTS and jvm.config
This closes #638
2022-03-05 23:52:54 +01:00
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
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