Commit Graph

1160 Commits

Author SHA1 Message Date
Tamas Cservenak 6e532cd249 [maven-release-plugin] prepare for next development iteration 2023-10-01 20:39:38 +02:00
Tamas Cservenak 57804ffe00 [maven-release-plugin] prepare release maven-3.9.5 2023-10-01 20:39:10 +02:00
Hervé Boutemy 0c8b7dfc60 [MNG-7875] colorize transfer messages 2023-09-11 18:59:46 +02:00
Tamas Cservenak 67b8c0703a [maven-release-plugin] prepare for next development iteration 2023-07-26 11:38:46 +02:00
Tamas Cservenak dfbb324ad4 [maven-release-plugin] prepare release maven-3.9.4 2023-07-26 11:38:23 +02:00
Tamas Cservenak 2963769b77 [MNG-7846] Break out of endless loop (#1206)
This is most probably "just" about broken Throwable implementations.
Some override getCause but does not perform checks to what it was inited
as "this" means "not yet inited" actually.

Backport of 36db1e35ca

---

https://issues.apache.org/jira/browse/MNG-7846
2023-07-19 17:42:02 +02:00
Tamas Cservenak 07491eb9ee [maven-release-plugin] prepare for next development iteration 2023-06-23 15:01:06 +02:00
Tamas Cservenak 2112292682 [maven-release-plugin] prepare release maven-3.9.3 2023-06-23 15:00:37 +02:00
Hervé Boutemy ec5e1ce599 update logging documentation 2023-06-19 23:08:59 +02:00
Hervé Boutemy e83192cd56 s/JavaDocs/Javadocs/ 2023-06-04 18:09:59 +02:00
Tamas Cservenak 3c29fa5e74
[MNG-7698] Allow comments in .mvn/maven.config (#1141)
Backport of https://github.com/apache/maven/pull/1134

---

https://issues.apache.org/jira/browse/MNG-7698
2023-06-04 07:11:11 +02:00
Andreas Dangel 23a3a9127d
[MNG-7795] IllegalArgumentException: 'other' has different root during plugin validation (#1128)
Checks the paths before relativizing them.
Normalize and relative before adding to result
Rename local vars
Apply to ExecutionEventLogger

---

https://issues.apache.org/jira/browse/MNG-7795
2023-06-01 19:05:07 +02:00
Guillaume Nodet dd1922bd24
[MNG-7796] Be lenient when using toRealPath (#1131) 2023-05-31 09:40:48 +02:00
Tamas Cservenak 42594643c3 [maven-release-plugin] prepare for next development iteration 2023-05-08 11:05:52 +02:00
Tamas Cservenak c9616018c7 [maven-release-plugin] prepare release maven-3.9.2 2023-05-08 11:05:23 +02:00
Tamas Cservenak 79556ddc6b
[MNG-7774] Maven config and command line interpolation (#1098)
Reuse as much as possible from master, but keep existing stuff like multiModuleProjectDirectory alone.

Changes:
* interpolate user properties and arguments
* introduce session.topDirectory and session.rootDirectory expressions (for interpolation only)
* Maven fails to start if any of the new properties are undefined but their use is attempted
* leave everything else untouched

---

https://issues.apache.org/jira/browse/MNG-7774
2023-05-05 14:01:38 +02:00
Tamas Cservenak 22e6eb03ea [maven-release-plugin] prepare for next development iteration 2023-03-15 10:40:30 +01:00
Tamas Cservenak 2e178502fc [maven-release-plugin] prepare release maven-3.9.1 2023-03-15 10:39:58 +01:00
Tamas Cservenak 5a552315f1
[MNG-7713] Make Maven fail if option present (#1021)
As with previous PR (simple removal) the `-llr` got
interpreted as `-l lr`, it logged all output to `lr`
file. This would maean that use of `-llr` would still
sneakily 'work' and probably cause surprise down the
road to users.

Returned the option, and expicitly checking for it's
presence to be able to fail with meaningful message.

---

https://issues.apache.org/jira/browse/MNG-7713
2023-03-01 13:30:04 +01:00
Tamas Cservenak 175b35c374
[maven-3.9.x] [MNG-7713] Drop legacy-local-repository option (#1018)
There is really no need for it, and there is a resolver
option if really must (but really should not, local repo
is and should be considered as transient).

---

https://issues.apache.org/jira/browse/MNG-7713
2023-03-01 11:20:19 +01:00
Andrey Bruykhov 0a299275e3 Close stream with try-with-resources
This closes #997
2023-02-17 21:03:21 +01:00
Andrey Bruykhov fbf6bdaf01 [MNG-7686] Speed up by replacing non-pattern #replaceAll() with #replace() or precompiled patterns
This closes #984
2023-02-07 22:10:29 +01:00
Tamas Cservenak ad29c3c548 [maven-release-plugin] prepare for next development iteration 2023-01-31 10:58:16 +01:00
Tamas Cservenak 9b58d2bad2 [maven-release-plugin] prepare release maven-3.9.0 2023-01-31 10:57:57 +01:00
Tamas Cservenak e9d570889f Reformat 2023-01-31 10:22:08 +01:00
Michael Osipov a3f88234d4 Add TODO about property source of maven.repo.local 2023-01-01 20:01:37 +01:00
Michael Osipov 074879ff28 [MNG-7651] Simplify and document merge of maven.config file and CLI args
This closes #939
2022-12-29 21:30:04 +01:00
Michael Osipov 331c5c3435 [MNG-7131] maven.config doesn't handle arguments with spaces in them
Since we don't have a clear specification of the file format change
reading of the file to a one-arg-per-line basis just like Java's
@argfiles or Python's argparse would handle it.
Consider that jvm.config suffers from the same issue its parsing is not
portable between Bourne shell and Windows Command prompt.
2022-12-26 21:00:34 +01:00
Tamas Cservenak a23ff0f9a2
[MNG-7618][MNG-7624] Backport to Maven 3.9.x (#937)
These changes are making IT suite to fail with maven-3.9.x.

OTOH, the change is nearly trivial, while value is high, so let's
backport them.

---

https://issues.apache.org/jira/browse/MNG-7618
https://issues.apache.org/jira/browse/MNG-7624
2022-12-26 20:01:32 +01:00
Slawomir Jaranowski 693814f0a5 [MNG-7613] Parent POM 38 - code reformat 2022-12-02 12:54:12 +01:00
Michael Osipov 0f4387543d [MNG-7556] Clean up notion between user properties and system properties 2022-10-29 20:19:49 +02:00
Sylwester Lachiewicz 2f7dfcfe82 [MNG-7502] Upgrade to Guice 5.1.0
(cherry picked from commit 5502c0c8db)
2022-09-11 10:00:07 +02:00
Michael Osipov 029587fb0b Add missing dependency 2022-07-24 10:30:49 +02:00
Josef Cacek e1e4f5bda0 [MNG-7511] Ensure the degreeOfConcurrency is a positive number in MavenExecutionRequest
This closes #767
2022-07-18 22:35:28 +02:00
Michael Osipov f164ab5f89 [MNG-7513] Address commons-io_commons-io vulnerability found in maven latest version
We can safely remove Commons IO altogether because it is not used in any direct or
transitive usecase at compile time or runtime.

This closes #771
2022-07-18 17:31:06 +02:00
Hervé Boutemy c9a3e0e45b [MNG-7501] add relative path to pom.xml in module build start output 2022-06-26 18:38:40 +02:00
Guillaume Nodet 115febf29b [MNG-7160] Ability to customize core extensions classloaders (#616) 2022-06-18 12:30:40 +02:00
Karl Heinz Marbaise 7d6f281fe3 [MNG-6826] Remove condition check for JDK8+ in FileSizeFormatTest 2022-03-06 21:12:40 +01:00
boris-unckel e1b46e2339 [MNG-7068] Active dependency management for Google Guice/Guava
This closes #462
2022-03-06 20:46:56 +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
Christoph Läubrich a5acd3ec60 [MNG-7395] Support interpolation in extensions.xml
This adds support for property interpolation in extensions.xml to allow
advanced use cases where one wants to contribute certain things via the
commandline.

This closes #673
2022-02-19 21:41:18 +01:00
Guillaume Nodet 8456294977
[MNG-6326] Make the build fail if core extensions can not be loaded (#648) 2022-01-07 09:51:21 +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
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 d1aa1e1f0a [MNG-7252] Fix warnings issued by dependency:analyze
This closes #541
2021-09-16 11:54:33 +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