Commit Graph

11935 Commits

Author SHA1 Message Date
Guillaume Nodet 0c37cff681
[MNG-7820] Get rid of plexus-utils Os class (#1249) 2023-09-22 08:01:36 +02:00
Guillaume Nodet 1eae6684e3
[MNG-7881] Expose the rootDirectory for model processing (#1245) 2023-09-19 16:31:35 +02:00
Slawomir Jaranowski 9378676b80 [MNG-7889] Preserve MetadataXpp3Reader/Writer for Maven 3 compatible 2023-09-18 08:08:06 +02:00
Guillaume Nodet 34b0591f03
[MNG-7820] Remove dependency on plexus-utils StringUtils / FileUtils (#1243)
Co-authored-by: crazyhzm <crazyhzm@apache.org>
2023-09-14 13:48:15 +02:00
Slawomir Jaranowski ce8fc3a31c [MNG-7878] Extend test for ConsumerPom and modules in plugin configuration 2023-09-14 09:51:37 +02:00
w 838cda7db0
Resolve circular dependencies for project org.apache.maven:maven-xml-impl (#1228) 2023-09-13 13:41:12 +02:00
Guillaume Nodet c6380108b1
[MNG-7877] Attach the build POM and simplify build/consumer implementation (#1240)
.. at the cost of loosing xml formatting in the consumer POMs
2023-09-13 13:39:50 +02:00
Hervé Boutemy 25488f9231 [MNG-7875] colorize transfer messages 2023-09-11 19:06:37 +02:00
Guillaume Nodet 45075233c7
[MNG-7876] Add model version analysis and downgrade (#1235) 2023-09-11 18:17:26 +02:00
Guillaume Nodet 46fd5e9586
Add ModelLocator#locateExistingPom to abstract a bit more (#1237) 2023-09-11 18:15:00 +02:00
Guillaume Nodet e71d2d7167
Improve o.a.m.api.services.Source interface (#1236) 2023-09-11 18:14:36 +02:00
Guillaume Nodet 7d6f90e8d0
Move Features to api (#1232) 2023-09-11 00:42:53 +02:00
Guillaume Nodet dde369b6fc [MNG-7810] Provide a SPI for the v4 api
# Conflicts:
#	maven-bom/pom.xml
2023-09-11 00:38:45 +02:00
Guillaume Nodet 8d91fc8c15 Do not build location information if not needed 2023-09-11 00:38:10 +02:00
Guillaume Nodet f0a6239162 Use XMLConstants 2023-09-11 00:38:10 +02:00
Guillaume Nodet c245ed48de Fix stax writer to generate nicer XML 2023-09-11 00:38:10 +02:00
Guillaume Nodet a27f614511 Remove unused method in generated xml writers 2023-09-11 00:38:10 +02:00
Guillaume Nodet e2fc256118
Minor improvements to v4 api ToolchainsBuilder (#1234) 2023-09-11 00:37:22 +02:00
Tamas Cservenak 0ea8879eea [MNG-7874] Use name constants instead of free string literals (#1229)
Maven Resolver Provider: get rid of name free string literals.

Forward port of bbd84c6c87

---

https://issues.apache.org/jira/browse/MNG-7874
2023-09-08 16:15:43 +02:00
Tamas Cservenak 1c050eee7b [MNG-7870] Undeprecate G level metadata (#1224)
The modello generated classes should not be deprecated, and they are in use.

Forward port of 84ee422e65

---

https://issues.apache.org/jira/browse/MNG-7870
2023-09-07 12:05:21 +02:00
Guillaume Nodet 05a76bc427
Deprecate all classes in maven-compat (#1227) 2023-09-06 13:28:54 +02:00
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 c0b8a769b3
[MNG-7864] Disable broken s390x jenkins (#1225) 2023-09-06 00:20:22 +02:00
Guillaume Nodet 06938249a7
[MNG-7792] Use a standalone asm version (#1126) 2023-09-05 23:09:03 +02:00
Tamas Cservenak 60781caa06 Fix javadoc issues. 2023-09-05 22:43:13 +02:00
Tamas Cservenak 9dd7b01a89 [MNG-7856] Maven Resolver Provider ctor and other minor code changes (#1223)
Maven Resolver Provider gets similar change as other Resolver components had in MRESOLVER-386.

Also, some minor code updates like adding Override and other cosmetic stuff.

Forward port of 1ac8be50c8

---

https://issues.apache.org/jira/browse/MNG-7856
2023-09-05 21:50:10 +02:00
Guillaume Nodet 64b32c0bb4
[MNG-7871] Fix location tracking (#1222) 2023-09-05 18:06:44 +02:00
Guillaume Nodet 98ec2eb1c8
[MNG-7861] Remove artifacts which should be kept hidden (#1221) 2023-09-01 22:26:41 +02:00
Guillaume Nodet 22ae75a304
[MNG-7843] Allow glob patterns in dependency exclusions (#1200) 2023-08-29 17:25:58 +02:00
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