Commit Graph

11698 Commits

Author SHA1 Message Date
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
Tamas Cservenak a840ba91e3
[MNG-7608] Make native transport the default (#892)
This immediately cuts in "half" the count of HTTP requests against Maven Central or any major MRM.

Altering the meaning of "default": is now same as "auto", but still leaving it in place for future, as "default" at some point may again become something different than "native".

---

https://issues.apache.org/jira/browse/MNG-7608
2022-12-02 16:12:48 +01:00
Guillaume Nodet 249c0fe0f1
[MNG-7617] Small optimisations and cleanup in the project/model building (#816)
* Clean a bit DefaultProfileActivationContext
* Cleanup DefaultProjectBuildingResult
* Cache the injected list to avoid repetitive lookups
* Lazily compute the MavenBuildTimestamp
* Use a single loop to select active profiles
2022-12-02 14:58:56 +01:00
Guillaume Nodet f0cc176b33
[MNG-7616] Add missing exported artifacts for the new API (#894) 2022-12-02 14:56:02 +01:00
Guillaume Nodet 615390f6fc
[MNG-7596] Upgrade to plexus 3.5.0 (#866) 2022-12-01 22:07:30 +01:00
Konrad Windszus 3d0939662a
[MNG-7611] Change semantics of plugin descriptor's "requiredJavaVersion" (#888)
Always assume version constraint (the same as in requiredMavenVersion)
2022-12-01 21:54:09 +01:00
Tamas Cservenak f70b0019cc
[MNG-7607] Add M4 Transport API (#884)
Something simple to use and would reuse all the auth/proxy etc data from Maven. Intentionally super-trivial API.

If something more "serious" needed, plugin should probably roll it's own solution.

---

https://issues.apache.org/jira/browse/MNG-7607
2022-12-01 13:53:08 +01:00
Tamas Cservenak c6ecff9923
[MNG-7586] Update Maven Resolver to 1.9.2 (#882)
Updates resolver to latest release.

---

https://issues.apache.org/jira/browse/MNG-7586
2022-11-26 20:08:34 +01:00
Guillaume Nodet 5da32ae7f3
[MNG-7602] Move back model version from 5.0 to 4.2 and reactivate modello site generation (#843) 2022-11-22 23:11:30 +01:00
Guillaume Nodet 19c897de6f [MNG-7601] Fix git blame rev 2022-11-22 15:38:45 +01:00
Guillaume Nodet 001eef8452 [MNG-7601] Ignore reformat commit in blame 2022-11-22 14:26:01 +01:00
Guillaume Nodet de19cfcd2b [MNG-7601] Reformat sources 2022-11-22 14:26:01 +01:00
Guillaume Nodet 49572e46c9 [MNG-7601] Upgrade Apache Maven parent POM to version 38 2022-11-22 14:26:01 +01:00
Slawomir Jaranowski b1c1f7556d [MNG-7600] LocalRepositoryManager is created too early
LocalRepositoryManager needs configurations from RepositorySystemSession
so must be created after session configuration is finished.
2022-11-21 16:45:35 +01:00
Guillaume Nodet dc88c6193c
[MNG-7580] Introduce new SettingsBuilder and ToolchainsBuilder services (#852) 2022-11-21 09:51:28 +01:00
Guillaume Nodet 3f03f0e7b2
[MNG-7576] Restore compatibility with maven 3.x (#841) 2022-11-21 09:50:33 +01:00
Guillaume Nodet 6a27f5f2f6
[MNG-7597] Fix infinite loop when iterating PropertiesAsMap (#872) 2022-11-21 09:37:42 +01:00
Tamas Cservenak 724ac0b541 Revert "[MNG-7586] Update Maven Resolver to 1.9.1 (#870)"
This reverts commit 113919a5ef.
2022-11-17 17:46:08 +01:00
Tamas Cservenak 113919a5ef
[MNG-7586] Update Maven Resolver to 1.9.1 (#870)
Changes:
- hook in lifecycle

---

https://issues.apache.org/jira/browse/MNG-7586
2022-11-17 16:26:42 +01:00
Slawomir Jaranowski a6b1ebb1cd Update actions in GH build
Old actions use deprecated node 12

- cache v2 -> v3
- checkout v2 -> v3
- download-artifact v2 -> v3
- setup-java v2 -> v3
- disable access to GITHUB_TOKEN
- don't store credentials with checkout
- don't execute build for PR from local repository branches - we have build on push event
2022-11-16 08:36:53 +01:00
Slawomir Jaranowski fa15fcf153 [MNG-7590] Allow to configure resolver by properties in settings.xml 2022-11-09 23:15:25 +01:00
Guillaume Nodet dfcf5791fc
[MNG-7583] Allow concurrent access to the MavenPluginManager (#855) 2022-11-09 14:13:18 +01:00
Konrad Windszus 4d3a82f596
[MPLUGIN-439] Support custom lifecycle phase ids in Execute annotation (#865) 2022-11-09 13:05:38 +01:00
Konrad Windszus 431e2b3eec
[MNG-7561] never resolve version ranges with same lower and upper bound (#823)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2022-11-07 17:03:59 +01:00
Hervé Boutemy 3c1b8a060d
add Reproducible Builds badge 2022-11-02 23:57:57 +01:00
Konrad Windszus 1ada7a5902
[MNG-7569] Fix Plugin Model: Add new v4Api element (#842)
Improve descriptions, add anchors
[MNG-7575] Remove deprecated requiresReports
Relax validation of "configuration" by marking it as "DOM"
2022-10-30 08:45:03 +01:00
Michael Osipov 9c60138915 [MNG-7556] Clean up notion between user properties and system properties
This closes #810
2022-10-29 20:44:15 +02:00
Abdel Hajou bc8c6be269 [MNG-7564] Check if session is null when generating metadata
Closes #857.
2022-10-29 13:38:47 +02:00