Commit Graph

700 Commits

Author SHA1 Message Date
Slawomir Jaranowski 6d095518ce [MNG-8101] Upgrade Parent to 42 2024-04-20 20:44:23 +02:00
Konrad Windszus f860a8693d
[MNG-5726] Support regular expression matching in profile activation for (#1431)
OS version

This requires using the reserved prefix "regex:" in the version element.
2024-03-07 16:14:20 +01:00
Konrad Windszus 9a84fdf2a9
[MNG-8019] Rely on default update policy (daily) for Central (#1381)
Both plugin and regular repository should have the same policy.
Unfortunately using "never" is not possible as long as resolver applies
this policy to both artifacts (immutable) and metadata (mutable)
2024-02-23 12:07:06 +01:00
Hervé Boutemy 3880a07362 [MNG-8029] improve documentation about mirror settings 2024-02-17 19:26:33 +01:00
Tamas Cservenak 46aaf72799 [maven-release-plugin] prepare for next development iteration 2023-11-28 11:01:11 +01:00
Tamas Cservenak bc0240f3c7 [maven-release-plugin] prepare release maven-3.9.6 2023-11-28 11:00:43 +01:00
Slawomir Jaranowski e6cc6c53cb [MNG-7943] Upgrade default plugin bindings
- surefire from 3.1.2 to 3.2.2
- dependency from 3.6.0 to 3.6.1
2023-11-26 16:31:33 +01:00
Tamas Cservenak 6e532cd249 [maven-release-plugin] prepare for next development iteration 2023-10-01 20:39:38 +02:00
Tamas Cservenak 57804ffe00 [maven-release-plugin] prepare release maven-3.9.5 2023-10-01 20:39:10 +02:00
Slawomir Jaranowski 0e1de3fe5b [MNG-7895] Support ${project.basedir} in file profile activation
(cherry picked from commit 5c2e671a06)
2023-09-27 22:01:48 +02:00
Craig Andrews c482de86c1
[MNG-7851] Improve error message when modelVersion is 4.0 (#1210)
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>
2023-08-29 12:06:11 +02:00
Tamas Cservenak 67b8c0703a [maven-release-plugin] prepare for next development iteration 2023-07-26 11:38:46 +02:00
Tamas Cservenak dfbb324ad4 [maven-release-plugin] prepare release maven-3.9.4 2023-07-26 11:38:23 +02:00
Tamas Cservenak 07491eb9ee [maven-release-plugin] prepare for next development iteration 2023-06-23 15:01:06 +02:00
Tamas Cservenak 2112292682 [maven-release-plugin] prepare release maven-3.9.3 2023-06-23 15:00:37 +02:00
Tamas Cservenak 7e0fa3ec52
[MNG-7807] Super POM plugin updates (#1152)
Changes:
* antrun: 1.3 -> 3.1.0
* assembly: 2.2-beta-5 -> 3.6.0
* dependency: 2.8 -> 3.6.0
* release: 2.5.3 -> 3.0.1 (and removed config)

---

https://issues.apache.org/jira/browse/MNG-7807
2023-06-12 11:18:41 +02:00
Hervé Boutemy 434ec3b476 fix unintended s/javacocs/Javadocs/ 2023-06-04 18:16:38 +02:00
Hervé Boutemy e83192cd56 s/JavaDocs/Javadocs/ 2023-06-04 18:09:59 +02:00
Tamas Cservenak 42594643c3 [maven-release-plugin] prepare for next development iteration 2023-05-08 11:05:52 +02:00
Tamas Cservenak c9616018c7 [maven-release-plugin] prepare release maven-3.9.2 2023-05-08 11:05:23 +02:00
Niels Basjes 0f18470576
[MNG-7750] Fix unwanted interpolation in plugins from profiles. (#1075)
This is ONLY the reproduction of the problem I found.

If you disable the activeProfile (in buildPom and remove the assert) then all checks pass.

If you enable this profile (provided code) then in several places the ${project.basedir} has been interpolated and shows the path of the build and the assertions fail the build.

---

https://issues.apache.org/jira/browse/MNG-7750
2023-04-12 12:26:47 +02:00
Tamas Cservenak 22e6eb03ea [maven-release-plugin] prepare for next development iteration 2023-03-15 10:40:30 +01:00
Tamas Cservenak 2e178502fc [maven-release-plugin] prepare release maven-3.9.1 2023-03-15 10:39:58 +01:00
Tamas Cservenak 5bc322ae93
[MNG-7726] Maven 3.9.0 resolves properties in file profile activation incorrectly (#1053)
There was a typo: the stream contains entries, so e.getKey and
e.getValue is needed.

---

https://issues.apache.org/jira/browse/MNG-7726
2023-03-11 22:49:58 +01:00
Andrey Bruykhov 4454cd6d82 Normalize regex patterns
This closes #988
2023-02-09 18:49:45 +01:00
Andrey Bruykhov fbf6bdaf01 [MNG-7686] Speed up by replacing non-pattern #replaceAll() with #replace() or precompiled patterns
This closes #984
2023-02-07 22:10:29 +01:00
Tamas Cservenak ad29c3c548 [maven-release-plugin] prepare for next development iteration 2023-01-31 10:58:16 +01:00
Tamas Cservenak 9b58d2bad2 [maven-release-plugin] prepare release maven-3.9.0 2023-01-31 10:57:57 +01:00
Tamas Cservenak e9d570889f Reformat 2023-01-31 10:22:08 +01:00
Michael Osipov 4e8773bc44 [MNG-7658] CI-friendly versions should only come from/rely on user properties
This closes #945
2023-01-01 21:10:52 +01:00
Pavel Horal 86d6e2aeff [MNG-7648] Fix locationTracking in DefaultModelBuildingRequest copy constructor (#940)
- Fix locationTracking in DefaultModelBuildingRequest copy constructor
- Add location tracking unit test
2023-01-01 13:41:09 +01:00
Slawomir Jaranowski 693814f0a5 [MNG-7613] Parent POM 38 - code reformat 2022-12-02 12:54:12 +01:00
Tamas Cservenak 4c95a50332
[MNG-6609] Profile activation based on packaging (#883)
In short: do NOT set request.setRawModel as NOTHING sets it. The Maven4 vs Maven3 is different, in Maven 3 NOTHING calls request.setRawModel

Full explanation: as ModelBuildingRequest is REUSED, and nothing sets this value in Maven3, once you set it here (as in original PR https://github.com/apache/maven/pull/849 ) results in awkward situation in Maven3: it will not load any other model...

---

https://issues.apache.org/jira/browse/MNG-6609
2022-12-01 12:51:18 +01:00
Tamas Cservenak 36ff9a65e6 Revert "[MNG-6609] Maven 3.9: profile activation by packaging (#849)"
This reverts commit e921f1564e.
2022-11-28 09:06:29 +01:00
Konrad Windszus e921f1564e
[MNG-6609] Maven 3.9: profile activation by packaging (#849)
Generate raw model before profile activation context is generated
2022-11-27 16:49:43 +01:00
Michael Osipov 0f4387543d [MNG-7556] Clean up notion between user properties and system properties 2022-10-29 20:19:49 +02:00
Sylwester Lachiewicz 2f7dfcfe82 [MNG-7502] Upgrade to Guice 5.1.0
(cherry picked from commit 5502c0c8db)
2022-09-11 10:00:07 +02:00
Karl Heinz Marbaise c604db3c3a
[MNG-7447] - Several Improvements by using Stream API 2022-04-05 21:24:58 +02:00
boris-unckel e1b46e2339 [MNG-7068] Active dependency management for Google Guice/Guava
This closes #462
2022-03-06 20:46:56 +01:00
Michael Osipov 78ca83e2a4 Bump version to 3.9.0-SNAPSHOT 2022-03-06 10:46:56 +01:00
Michael Osipov 0a6f12fba1 [maven-release-plugin] prepare for next development iteration 2022-03-05 12:41:16 +01:00
Michael Osipov 3599d3414f [maven-release-plugin] prepare release maven-3.8.5 2022-03-05 12:41:04 +01:00
Christoph Läubrich 2bb1228de6 [MNG-7407] Introduce a ModelVersionProcessor component to make CI Friendly Versions pluggable
This closes #674
2022-02-19 17:51:35 +01:00
Guillaume Nodet d79485ff23
[MNG-6727] Using version range in parent and CI Friendly Version fails 2022-02-01 14:26:54 +01:00
Michael Osipov f4fd031828 Fix checkstyle issue 2022-01-06 22:26:58 +01:00
Ravil Galeyev 0f3c39b8ed [MNG-6802] FileProfileActivator changes FileProfileActivator.exists which lets flattened resolveCiFriendliesOnly depending fail activating profile
Cherry picked from 3fabb639a3

This closes #649
2022-01-06 18:50:10 +01:00
Michael Osipov 8af0a674db [maven-release-plugin] prepare for next development iteration 2021-11-14 10:14:54 +01:00
Michael Osipov 9b656c72d5 [maven-release-plugin] prepare release maven-3.8.4 2021-11-14 10:14:42 +01:00
Michael Osipov 21e597ec77 [maven-release-plugin] prepare for next development iteration 2021-09-27 20:28:37 +02:00
Michael Osipov ff8e977a15 [maven-release-plugin] prepare release maven-3.8.3 2021-09-27 20:28:25 +02:00