Commit Graph

11925 Commits

Author SHA1 Message Date
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
Guillaume Nodet 9beb2ed45d
Add a README for plexus-utils (#847) 2022-10-29 09:06:24 +02:00
Guillaume Nodet 31b3af084b
[MNG-7584] The properties-maven-plugin fails to load project properties (#856) 2022-10-28 17:09:45 +02:00
Koray Tugay e13176829f
DOC - spelling fix in maven.mdo file (#851)
DOC - spelling fix in maven.mdo file
2022-10-26 22:49:18 +02:00
Guillaume Nodet cb424b93e1
[MNG-7582] Reformat apiv4 javadoc according to usual rules
Fixes  #853
2022-10-26 22:42:39 +02:00
Konrad Windszus 79b6dd0bab
[MNG-6609] expose packaging via property "project.packaging" (#835) 2022-10-24 13:13:35 +02:00
Guillaume Nodet 0d70f7295d Fix references to old snapshots 2022-10-21 16:31:33 +02:00
Guillaume Nodet 18eff3baeb
Restore compatibility with 3.x (#836)
* Restore compatibility with 3.x
* Deprecate the old constructor
2022-10-20 23:06:06 +02:00
Konrad Windszus daa8e16902
[MNG-7570] Plugin descriptor can carry the required Maven version (#832)
Its value takes precedence over POMs Maven prerequisite
2022-10-19 08:15:28 +02:00
Konrad Windszus d857c3a915
[MNG-7566] Allow a Maven plugin to require a Java version (#827) 2022-10-18 11:45:54 +02:00
Guillaume Nodet 77312f323b [maven-release-plugin] prepare for next development iteration 2022-10-15 01:41:39 +02:00
Guillaume Nodet c07700ffc9 [maven-release-plugin] prepare release maven-4.0.0-alpha-2 2022-10-15 01:41:31 +02:00
Guillaume Nodet 550f0c90fc Restore compatibility for the maven-release-plugin 2022-10-15 01:33:17 +02:00
Guillaume Nodet a492c9a4ff
Fix the repackaged plexus-utils groupId (#829)
* Fix plexus gav
* Install maven instead of just building it

The plugins need to be available in the local repo, else the build may download old snapshots
2022-10-15 01:20:24 +02:00
Guillaume Nodet 66851463f6 [maven-release-plugin] prepare for next development iteration 2022-10-14 22:57:05 +02:00
Guillaume Nodet 0d973fb624 [maven-release-plugin] prepare release maven-4.0.0-alpha-1 2022-10-14 22:36:41 +02:00
Guillaume Nodet f84d8338ab Fix modello-plugin-velocity which breaks the release plugin 2022-10-14 22:34:19 +02:00
Guillaume Nodet 2b6977a85f
Fix site generation (#828) 2022-10-14 21:52:26 +02:00
Martin Kanters c178b2fc1a
[MNG-7098] Keep the project counter intact when resuming a multi-module project. (#804) 2022-10-14 10:29:08 +02:00
Guillaume Nodet 49d1ec1668 Restore the serializable aspect of the Model 2022-10-14 10:23:18 +02:00
Guillaume Nodet c3361ab622 Fix javadoc issues 2022-10-13 17:35:27 +02:00
Konrad Windszus 78edd43122
[MNG-7106] Accept same lower and upper bound in version spec string (#825) 2022-10-13 15:29:50 +02:00
Guillaume Nodet 3f90e7028e
Restore compatibility on SettingsBuilder, ToolchainsBuilder and MojoDescriptorCreator (#820) 2022-10-11 16:31:57 +02:00
Tamas Cservenak 3bc2cf6a7a
[MNG-7547] Simpler G level metadata generation (#806) 2022-10-11 14:11:17 +02:00