Commit Graph

3169 Commits

Author SHA1 Message Date
Tamas Cservenak 45201347c4
[MNG-8256] FilteredProjectDependencyGraph fix for non-transitive case (#1724)
The `FilteredProjectDependencyGraph` class fix for non-transitive case and an UT. Also contains some improvement in classes, making them immutable as intended.

---

https://issues.apache.org/jira/browse/MNG-8256
2024-09-12 22:50:55 +02:00
Tamas Cservenak 76ff89f507 [maven-release-plugin] prepare for next development iteration 2024-08-14 10:49:36 +02:00
Tamas Cservenak 8e8579a9e7 [maven-release-plugin] prepare release maven-3.9.9 2024-08-14 10:49:16 +02:00
Tamas Cservenak ba05e6a102 [maven-release-plugin] prepare for next development iteration 2024-08-13 17:54:01 +02:00
Tamas Cservenak 476642f233 [maven-release-plugin] prepare release maven-3.9.9 2024-08-13 17:53:41 +02:00
Tamas Cservenak ba2ff7e025
[MNG-8182] Resolved errors were created based on collect exceptions (#1632)
Hence, they missed resolution errors.

---

https://issues.apache.org/jira/browse/MNG-8182
2024-08-09 23:10:39 +02:00
Slawomir Jaranowski e7e0cbb405 [MNG-8179] Upgrade Parent to 43 2024-07-11 09:05:08 +02:00
Piotrek Żygieło 18f23a1dc1
[MNG-7194] Test missing property evaluation (#1570)
Co-authored-by: Piotrek Żygieło <pzygielo@users.noreply.github.com>
2024-06-26 05:22:26 +02:00
Tamas Cservenak 1b3828e05b [maven-release-plugin] prepare for next development iteration 2024-06-13 10:22:44 +02:00
Tamas Cservenak 36645f6c9b [maven-release-plugin] prepare release maven-3.9.8 2024-06-13 10:22:16 +02:00
Slawomir Jaranowski 105d843df2 [MNG-8154] Upgrade default plugin bindings 2024-06-13 09:55:46 +02:00
Slawomir Jaranowski 37f1f02a34 [MNG-7758] Report dependency problems for all repository
(cherry picked from commit 768ebbc263)
2024-06-12 14:37:24 +02:00
Tamas Cservenak 66266e5315
[MNG-8140] Always tell why model was discarded as "invalid" (#1555)
The info is there, but we redirect user to rinse-repeat in debug mode, that that creates a TON of output.

All is there, just tell why.

---

https://issues.apache.org/jira/browse/MNG-8140
2024-06-06 21:07:44 +02:00
Tamas Cservenak 741deac98f
[MNG-8146] Drop commons-lang (#1564)
For start, keeping almost same LOC but the distro zip lost almost 1 MB (was 10MB now is 9MB). Second, am really unsure why it was introduced in the first place, as it merely caused confusion, over StringUtils for example.

---

https://issues.apache.org/jira/browse/MNG-8146
2024-06-06 20:49:34 +02:00
Tamas Cservenak 865072025d
[MNG-8066] Default exception handler does not handle recursion (#1558)
If there is a recursion in throwable causes, Maven will hang forever, instead to return.

---

https://issues.apache.org/jira/browse/MNG-8066
2024-06-06 12:22:06 +02:00
Yueh Chun Wu df00ea5c10 [MNG-7902] Sort plugins in the validation report (#1510)
Co-authored-by: Yueh Chun Wu <kevinwu@YuehdeMBP.attlocal.net>

(cherry picked from commit dd9679450e)
2024-06-05 20:06:00 +02:00
Tamas Cservenak 1c166ab95e [maven-release-plugin] prepare for next development iteration 2024-05-22 11:48:40 +02:00
Tamas Cservenak 8b094c9513 [maven-release-plugin] prepare release maven-3.9.7 2024-05-22 11:48:25 +02:00
Tamas Cservenak c44304fe33
[MNG-8118] Backport to Maven 3.9.x (#1505)
Produces output like this:
https://gist.github.com/cstamas/3ca4bc6cea5f701054061871b5db3f35

---

https://issues.apache.org/jira/browse/MNG-8117
2024-05-09 22:18:12 +02:00
Tamas Cservenak f6935a9f6a
[MNG-8030] Backport itr: ignore transitive repositories (#1469)
Backport of the Maven4 feature: ignore transitive repositories.

---

https://issues.apache.org/jira/browse/MNG-8030
2024-04-20 22:33:13 +02:00
Slawomir Jaranowski 16f8127570 [MNG-8100] Upgrade default plugin bindings 2024-04-20 21:41:03 +02:00
Hervé Boutemy 3880a07362 [MNG-8029] improve documentation about mirror settings 2024-02-17 19:26:33 +01:00
Tamas Cservenak 46aaf72799 [maven-release-plugin] prepare for next development iteration 2023-11-28 11:01:11 +01:00
Tamas Cservenak bc0240f3c7 [maven-release-plugin] prepare release maven-3.9.6 2023-11-28 11:00:43 +01:00
Slawomir Jaranowski e6cc6c53cb [MNG-7943] Upgrade default plugin bindings
- surefire from 3.1.2 to 3.2.2
- dependency from 3.6.0 to 3.6.1
2023-11-26 16:31:33 +01:00
Slawomir Jaranowski c54baa64b3 [MNG-7939] Allow to exclude plugins from validation
(cherry picked from commit 644a15c323)
2023-11-20 08:41:23 +01:00
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
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
Tamas Cservenak 958112991d
[MNG-7823] Improve plugin validation level parsing (#1182)
Changes:
* always parse it at session start
* hence, will WARN if needed there as well, and will warn once
* do not re-parse and possibly warn always, reuse parsed enum

---

https://issues.apache.org/jira/browse/MNG-7823
2023-06-23 13:04:57 +02:00
Slawomir Jaranowski e625606588 [MNG-7811] Plugins verification - reporting improvements 2023-06-16 09:01:13 +02:00
Tamas Cservenak 302f55a4b7
MNG-7790] Update lifecycle plugins, take 2 (#1162)
Changes:
* war 3.3.3 -> 3.4.0

---

https://issues.apache.org/jira/browse/MNG-7790
2023-06-15 14:09:16 +02:00
Hervé Boutemy 45262ccd1d [MNG-5987] document goals execution order
fixes #1145
2023-06-14 07:43:55 +02:00
Slawomir Jaranowski 3135553e2d [MNG-7806] Plugins verification - remove used in module(s) report 2023-06-13 20:15:51 +02:00
Tamas Cservenak 8695b6d66e
[MNG-7790] Update lifecycle plugins (#1153)
Changes:
install: 3.1.0 -> 3.1.1
deploy: 3.1.0 -> 3.1.1
resources: 3.3.0 -> 3.3.1
compiler: 3.10.1 -> 3.11.0
surefire: 3.0.0 -> 3.1.2
plugin: 3.7.0 -> 3.9.0
wrapper: 3.1.1 -> 3.2.0

---

https://issues.apache.org/jira/browse/MNG-7790
2023-06-12 11:18:10 +02:00
Hervé Boutemy 434ec3b476 fix unintended s/javacocs/Javadocs/ 2023-06-04 18:16:38 +02:00
Hervé Boutemy e83192cd56 s/JavaDocs/Javadocs/ 2023-06-04 18:09:59 +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
Tamas Cservenak 8cc6b2710d
[MNG-7799] Plugin validation may falsely report there are issues (#1136)
But to show no issue, as locality to be shown is not same as reported
issues.

---

https://issues.apache.org/jira/browse/MNG-7799
2023-06-01 19:00:06 +02:00
Tamas Cservenak 1ee2c0111e [MNG-7797] Return BRIEF mode (#1132)
Make BRIEF a legal value again.

---

https://issues.apache.org/jira/browse/MNG-7797
2023-06-01 17:25:31 +02:00
Tamas Cservenak 39dd668adf
[MNG-7791] Split validation issues by "locality" aspect (#1122)
Changes:
* introduce "internal" (to project) and "external" aspect
* make "inline" default as it was in 3.9.0 and 3.9.1
* remove "default" report level
* summary and verbose reports "internal only" or ALL issues

Example of outputs while building maven-3.8.x:
https://gist.github.com/cstamas/defd6a52939f5a277bf5fc669c01aedb

---

https://issues.apache.org/jira/browse/MNG-7791
2023-05-26 18:19:12 +02:00
Tamas Cservenak c8d93c0552 [MNG-7789] Cleanup
PR had a leftover (unused but injected member). Removed.

---

https://issues.apache.org/jira/browse/MNG-7789
2023-05-24 12:51:35 +02:00
Tamas Cservenak 6c562a46ee
[MNG-7789] Dependency validation rules used wrong data (#1115)
Refactored and now dropped the unused pluginDescriptor/dependencies validation. Now we have "plugin dependency" (using POM) components to perform dependency validation.

Also, two "inlined" validation from plugin dependencies resolver factored out to components, along with 3 existing moved to newly added (they were wrongly validating descriptor dependencies while intent was to validate "real" dependencies) validators.

---

https://issues.apache.org/jira/browse/MNG-7789
2023-05-24 08:28:24 +02:00
Tamas Cservenak 4d6f16918a [MNG-7786] Fix plugin validation misleading message
Bugfix post merge: all scopes EXCEPT provided and test...

---

https://issues.apache.org/jira/browse/MNG-7786
2023-05-19 18:07:27 +02:00
Tamas Cservenak 1a19a0f58d
[MNG-7788] Plugin Validation Report logged before summary (#1114)
This change uses different technique to hook into "session end", and thus is invoked before ExecutionEventLogger is.

---

https://issues.apache.org/jira/browse/MNG-7788
2023-05-19 17:47:32 +02:00
Tamas Cservenak e5135698f4
[MNG-7787] Introduce new options for plugin validation report (#1113)
Added NONE and INLINE modes.

---

https://issues.apache.org/jira/browse/MNG-7787
2023-05-19 17:47:03 +02:00