Commit Graph

11906 Commits

Author SHA1 Message Date
Guillaume Nodet b0170a612b
[MNG-7851] Improve error message when modelVersion is 4.0 (#1219)
Improve DefaultModelValidator.compareModelVersions to be able to compare
versions which different numbers of segments, allowing it to compare
"4", "4.0", and "4.0.0" to each other for example.

Signed-off-by: Craig Andrews <candrews@integralblue.com>

# Conflicts:
#	maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

Co-authored-by: Craig Andrews <candrews@integralblue.com>
2023-08-29 13:33:17 +02:00
huazhongming 7d66d19f8b
[MNG-7822] Add support for TRACE logging level (with style "bold,magenta") (#1215)
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2023-08-25 17:51:43 +02:00
Guillaume Nodet f2593b97ef
[MNG-7862] The ModelLocator should always be used when locating pom.xml (#1217) 2023-08-23 21:25:14 +02:00
Elliotte Rusty Harold 8a88c45a2d
[MNG-7863] don't email on s390 failures. The regular results are enough. (#1218) 2023-08-23 09:05:21 -04:00
Guillaume Nodet c08b221264
[MNG-6401] Support interpolation of the proxy port in settings.xml (#1194)
Co-authored-by: Hervé Boutemy <hboutemy@apache.org>
Co-authored-by: Michael Osipov <michaelo@apache.org>
2023-08-23 10:17:47 +02:00
Elliotte Rusty Harold 421a23ad27
Improve API doc for ArtifactHandler (#1193)
* Rewrite API doc 
Noticed this was a unclear and out of date
2023-08-22 11:52:51 +00:00
Guillaume Nodet e7feeb6ff0
Fix codestyle in model code snippets (#1203) 2023-08-22 08:10:39 +02:00
Kun Lu eff2fbf2a9
[MNG-7848] Remove `Configure deploy` stage from s390x pipeline (#1216)
Signed-off-by: Kun-Lu <kun.lu@ibm.com>
2023-08-11 02:17:46 +02:00
Kun Lu 65b5031be8
[MNG-7848] Change the notification recipients in s390x pipeline (#1213)
* [MNG-7848] Change the notification recipients in s390x pipeline

Signed-off-by: Kun-Lu <kun.lu@ibm.com>

* [MNG-7848] Change the replyTo recipient

Signed-off-by: Kun-Lu <kun.lu@ibm.com>

---------

Signed-off-by: Kun-Lu <kun.lu@ibm.com>
2023-08-04 02:32:57 +02:00
Tamas Cservenak 059e3c5914
Fix dependabot alerts (#1214)
(that are not applicable, but look ugly).

These tests are NOT built, but are taken from real projects
several years ago, and used in POM related UTs.

Hence, for example update of velocity is completely okay,
even if in "real life" it would not compile.
2023-08-03 11:29:10 +02:00
Tamas Cservenak 83e8bd826e Update DOAP for Apache Maven 3.9.4 2023-08-03 10:03:29 +02:00
Kun-Lu bcfea094c0 [MNG-7848] Add s390x pipeline to Jenkins CI
Signed-off-by: Kun-Lu <kun.lu@ibm.com>
2023-08-01 12:19:51 +02:00
Tamas Cservenak 857a5e129a [MNG-7847] Upgrade resolver to 1.9.14
---

https://issues.apache.org/jira/browse/MNG-7847
2023-07-25 11:01:15 +02:00
Tamas Cservenak 36db1e35ca
[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.

---

https://issues.apache.org/jira/browse/MNG-7846
2023-07-19 17:37:28 +02:00
Guillaume Nodet 4a5b6c5f2b
Trivial fixes to the generated stax readers (#1204) 2023-07-18 22:56:07 +02:00
Guillaume Nodet fbc945b366
Rename argument (#1202) 2023-07-18 22:55:32 +02:00
Elliotte Rusty Harold 1a714351ef
remove pointless string concatenation (#1201) 2023-07-15 13:58:20 -04:00
Bruno Volpato bf56599e7b
Bump guava from 30.1-jre to 32.0.1-jre (#1191) 2023-07-11 16:40:49 +02:00
Guillaume Nodet 41e6760143 Do not generate empty files for InputLocation and InputSource 2023-07-11 08:29:13 +02:00
Guillaume Nodet 9b12ccdeb0
Rename Type#getName() to getId() and improve javadoc (#1198) 2023-07-06 09:20:03 +02:00
Guillaume Nodet 7563949f71 [MNG-7834] Fix NullPointerException in flatten-maven-plugin 2023-07-05 16:24:19 +02:00
Guillaume Nodet 6b3989ce5b Use model processor when locating the root pom when using -f/--file 2023-07-05 15:45:15 +02:00
Guillaume Nodet 567df8dea8 Use correct order in javadoc 2023-07-04 08:36:08 +02:00
Guillaume Nodet 97774578fb Add missing maven artifacts to BOM 2023-07-04 08:36:08 +02:00
Guillaume Nodet 8f45d51bd6 Prefer using String.isEmpty over String.length()>0 2023-07-04 08:36:08 +02:00
Guillaume Nodet 08979553f2 Prefer Files.newInputStream 2023-07-04 08:36:08 +02:00
Guillaume Nodet 08e996bb28 Fix search for topDirectory when using -f / --file 2023-07-04 08:36:08 +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 00e1793550
Update doap_Maven.rdf with recent releases 2023-06-28 23:48:29 +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 dbfcfd5eb3
[MNG-7228] MavenProject.getOriginalModel returns interpolated parts (#1183) 2023-06-24 10:51:08 +02:00
Guillaume Nodet 776563528b
[MNG-7824] Bump plexus-xml from 4.0.0 to 4.0.1 (#1184) 2023-06-23 23:11:39 +02:00
Guillaume Nodet 09b0436828 Fix javadoc for MessageUtils and Style 2023-06-23 16:21:36 +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
Tamas Cservenak 764a9ca0be [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:05:57 +02:00
Tamas Cservenak c9ba8bc4bf
[MNG-7800] Update resolver to 1.9.13 (#1181)
---

https://issues.apache.org/jira/browse/MNG-7800
2023-06-23 10:55:57 +02:00
huazhongming e3529c9582
[MNG-7714] Fixed a scenario in version sorting where sp1 is less than final (#1099)
* Fixed a scenario in version sorting where sp1 is less than final
2023-06-21 09:07:56 -04:00
Hervé Boutemy c080f64d46 update logging documentation 2023-06-19 23:09:43 +02:00
Guillaume Nodet 441ba71b04
[MNG-7632] Regression: combine.children breaks when combining executions (#1168) 2023-06-19 17:07:18 +02:00
Guillaume Nodet c5f9b74f28
[MNG-7805] Make the modelVersion optional when using build pom (#1148) 2023-06-19 17:06:57 +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
Guillaume Nodet e6303aae32
[MNG-5659] Provide project-specific settings located in ${session.rootdir}/.mvn/settings.xml by default (#1059) 2023-06-19 12:32:14 +02:00
Tamas Cservenak edeff8643e
[MNG-7800] Update resolver to 1.9.12 (#1177)
Resolver 1.9.12

---

https://issues.apache.org/jira/browse/MNG-7800
2023-06-19 11:16:34 +02:00
Guillaume Nodet 45721a4c9b Fix possible NPE 2023-06-16 13:38:46 +02:00
Guillaume Nodet bf6b0387a9
[MNG-7800] Bump maven-resolver from 1.9.10 to 1.9.11 (#1171) 2023-06-16 12:03:49 +02:00
Karl Heinz Marbaise 5ebbb8ff50
[MNG-7764] Small code improvements (#1088) 2023-06-16 10:54:09 +02:00