Commit Graph

11925 Commits

Author SHA1 Message Date
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
Tamas Cservenak 8918c8144f
[MNG-7622] Maven Transformation and Consumer POM (#907)
Maven Consumer POM redone, it happens only in "maven3 realm" (before resolver), and allows use cases like m-gog-p and checksum-m-p work as before.

Key aspects:
* consumer POM is injected to build earliest possible as attached artifact
* it lives and is visible just like any other attached artifact (so m-gpg-p can process it)
* just before the install/deploy, they are "swapped out" to replace POM along with all "extras" it may have (checksum, signature)
* to support use cases like MNG-7067 (in memory model is changed, but not POM file), OnChangeTransformer could be extended to take into account both: file content and model content.

---

https://issues.apache.org/jira/browse/MNG-7622
2023-01-25 11:27:00 +01:00
Hervé Boutemy 74548dde8e
[MNG-7664] consolidate Velocity templates used to generate code from models (#949) 2023-01-20 00:38:51 +01:00
Guillaume Nodet c1a900190f
[MNG-7629] Change reactor reader to copy packaged artifacts and reuse them across builds if needed (#954) 2023-01-19 11:55:20 +01:00
Slawomir Jaranowski 20f7c65a52 Execute IT tests with clean local repository 2023-01-17 19:48:48 +01:00
Tamas Cservenak 01ba8291cd
[MNG-7666] Update default binding and lifecycle plugin versions (#956)
Finally use 3.x plugins for all.

---

https://issues.apache.org/jira/browse/MNG-7666
2023-01-16 14:30:48 +01:00
Tamas Cservenak 2fba4471c9
[MNG-7668] Update Resolver to 1.9.4 (#959)
Update Maven Resolver to 1.9.4

---

https://issues.apache.org/jira/browse/MNG-7668
2023-01-16 14:29:21 +01:00
Slawomir Jaranowski c0d942b56b
Jenkinsfile: pickup results from ITs and Maven 3.8.x for build (#953)
Co-authored-by: Petr Široký <petr.siroky@pm.me>
2023-01-13 12:00:48 +01:00
Guillaume Nodet 1968951a53
[MNG-7642] Restore compatibility with flatten-maven-plugin (#947)
Revert "[MNG-7505] Remove ReportingConverter (#906)"
This reverts commit adf89ef63f.
2023-01-09 16:06:48 +01:00
Guillaume Nodet fc2d94f077 [MNG-7652] switch to Modello Velocity (#944) 2023-01-04 13:57:45 +01:00
Hervé Boutemy a7399a4d52
[MNG-7652] switch to Modello Velocity (#944) 2023-01-03 22:08:35 +01:00
Guillaume Nodet a00a44f75b
[MNG-7660] Rename Dom to XmlNode in the v4 api (#946)
* Rename Dom to XmlNode and Xpp3Dom to XmlNodeImpl
* Use XmlNodeBuilder instead of DomBuilder
2023-01-03 16:52:23 +01:00
Michael Osipov 7b00069388 [MNG-7658] CI-friendly versions should only come from/rely on user properties
This closes #945
2023-01-01 21:08:55 +01:00
Michael Osipov c2c6dd0921 Add TODO about property source of maven.repo.local 2023-01-01 20:00:18 +01:00
Hervé Boutemy fbdf109b34
[MNG-7571] add Maven API javadoc (#830) 2022-12-31 17:32:07 +01:00
Michael Osipov dc9efaace6 Update DOAP with Maven 3.8.7 release 2022-12-30 23:15:16 +01:00
Michael Osipov 5af08d0052 [MNG-7651] Simplify and document merge of maven.config file and CLI args
This closes #939
2022-12-29 21:27:59 +01:00
Pavel Horal 6178f6ed86
[MNG-7648] Fix locationTracking in DefaultModelBuildingRequest copy constructor (#940)
- Fix locationTracking in DefaultModelBuildingRequest copy constructor
- Add location tracking unit test
2022-12-29 14:02:33 +01:00
Guillaume Nodet 8150c62749 [MNG-7650] Reformat 2022-12-26 16:12:32 +01:00
Guillaume Nodet 67941c22d8 [MNG-7650] Upgrade Apache Maven parent POM to version 39 2022-12-26 16:12:32 +01:00
Michael Osipov aaced1b0d5 Fix test Javadoc issue 2022-12-24 21:38:42 +01:00
Michael Osipov 538a6b40a5 [MNG-7352] org.apache.maven.toolchain.java.JavaToolchainImpl should be public
This closes #934
2022-12-23 09:16:13 +01:00
Michael Osipov e73a0b00fd [MNG-7641] Upgrade Maven Wagon to 3.5.3 2022-12-23 08:50:16 +01:00
Swell 35c81bedde [MNG-7644] Fix version comparison where .X1 < -X2 for any string qualifier X
This #932
2022-12-21 21:34:28 +01:00
Piotrek Żygieło 8833330b00 [MNG-7645] Implement some #toString() methods
* Implement Developer#toString()
* Implement IssueManagement#toString()
* Implement License#toString()
* Implement Build#toString()
* Implement Organization#toString()
* Implement MailingList#toString()
* Implement Scm#toString()

This closes #933
2022-12-21 09:30:10 +01:00
Gwénaël Ruelland 342c164366 [MNG-7643] Each atomic task should have its own bullet 2022-12-20 14:14:27 +01:00
Michael Osipov 29f96a359a Update bundled license for SLF4J 2022-12-20 11:19:42 +01:00
Michael Osipov 968c1a25f5 [MNG-7634] Revert MNG-5982 and MNG-7417
This closes #916
2022-12-20 09:10:10 +01:00
Michael Osipov 29e7b0ea3c Revert "fix version comparison (#845)"
This reverts commit 97e8bf6711.
2022-12-19 22:43:54 +01:00
Michael Osipov f0364acb2f Directories, not folders 2022-12-18 16:36:16 +01:00
Slawomir Jaranowski 933b46eed2 [MNG-7626] maven-bom should have the same parent version as project 2022-12-18 15:12:40 +01:00
Michael Osipov 3eec6b82d3 [MNG-7636] Document MavenProject#getAttachedArtifacts() as read-only
This closes #918
2022-12-18 13:11:20 +01:00
Christoph Läubrich 7a1cc12a47 [MNG-7637] Possible NPE in MavenProject#hashCode()
This closes #921
2022-12-18 11:59:51 +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 4e38415b67
[MNG-7624] Use groupId:artifactId instead of empty goal (#911) 2022-12-15 21:18:29 +01:00
Guillaume Nodet 9e0cae423b
Update soap with 4.x alpha releases 2022-12-15 17:03:13 +01:00
Konrad Windszus ce18c56206
[MNG-7598] Enforce binary backwards-compatibility (#874)
For now only enabled in core and plugin-api

Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-15 10:50:39 +01:00
Olivier Lamy 984f73dc7c fix pom format
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-13 09:59:33 +10:00
Olivier Lamy 0342901766 fix pom
Signed-off-by: Olivier Lamy <olamy@apache.org>
2022-12-13 09:26:48 +10:00
Olivier Lamy 3f336e4f6d
simplify build and get rid of withMaven (#908)
* simplify build
2022-12-13 08:58:42 +10: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 adf89ef63f
[MNG-7505] Remove ReportingConverter (#906) 2022-12-11 18:57:15 +01:00
Simon 55431cd267
[MNG-7578] Fallback on Linux executable in Windows for findTool utility (#861)
* [MVN-7578] Fallback on Linux executable in Windows for findTool utility
* Fix code style
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-12-09 10:07:48 +01:00
Guillaume Nodet f27b975ddc
[MNG-7576] Restore compatibility for flatten-maven-plugin (#903) 2022-12-05 17:22:33 +01:00
Guillaume Nodet dc47da4366
[MNG-7618] Use goalPrefix instead of artifactId 4to display mojos being executed (#898) 2022-12-05 16:46:15 +01:00
Tamas Cservenak 6773c05128
[MNG-7619] Reverse Dependency Tree (#902)
Adds Maven feature that is able to explain why an artifact is present in local repository.

Usable for diagnosing resolution issues.

In local repository, for each artifact it records `.tracking` folder, containing farthest artifact that got to this artifact, and the list of graph nodes that lead to it.

Note: this is based on by @grgrzybek proposal and reuses some code he provided. See https://github.com/apache/maven-resolver/pull/182

---

https://issues.apache.org/jira/browse/MNG-7619
2022-12-05 16:19:31 +01:00
Konrad Windszus 0d4a1a1257
[MNG-7609] Clarify extension descriptor documentation (#896) 2022-12-05 10:04:35 +01:00
Gwénaël Ruelland 97e8bf6711
fix version comparison (#845) 2022-12-03 19:34:24 +00:00
Tamas Cservenak 69ef6a61ba [MNG-7612] Chained LRM
Adds new feature: Chained Local Repository Manager.

Cherry-pick 2dc7a356d3

---

https://issues.apache.org/jira/browse/MNG-7612
2022-12-03 16:55:05 +01:00