Guillaume Nodet
dc6d48ce00
[MNG-8330] Enforce attached artifacts to have the same GAV than their project ( #1838 )
2024-10-24 13:52:48 +02:00
Tamas Cservenak
4b9e350985
[maven-release-plugin] prepare for next development iteration
2024-10-19 20:11:20 +02:00
Tamas Cservenak
6e78fcf6f5
[maven-release-plugin] prepare release maven-4.0.0-beta-5
2024-10-19 20:10:56 +02:00
Tamas Cservenak
3ecf9124ca
Revert "[maven-release-plugin] prepare release maven-4.0.0-beta-5"
...
This reverts commit d82ef1a372
.
2024-10-19 20:08:03 +02:00
Tamas Cservenak
87912b6554
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit f4eeca2472
.
2024-10-19 20:07:37 +02:00
Tamas Cservenak
f4eeca2472
[maven-release-plugin] prepare for next development iteration
2024-10-18 17:54:38 +02:00
Tamas Cservenak
d82ef1a372
[maven-release-plugin] prepare release maven-4.0.0-beta-5
2024-10-18 17:54:23 +02:00
Tamas Cservenak
076c4dfeb7
Revert "[maven-release-plugin] prepare release maven-4.0.0-beta-5"
...
This reverts commit 2bcd571b56
.
2024-10-18 17:05:06 +02:00
Tamas Cservenak
ec2a8054c1
Revert "[maven-release-plugin] prepare for next development iteration"
...
This reverts commit 1813f06f86
.
2024-10-18 17:04:56 +02:00
Tamas Cservenak
1813f06f86
[maven-release-plugin] prepare for next development iteration
2024-10-18 16:34:31 +02:00
Tamas Cservenak
2bcd571b56
[maven-release-plugin] prepare release maven-4.0.0-beta-5
2024-10-18 16:34:04 +02:00
Guillaume Nodet
9b407d57dc
[MNG-8327] Failure when building the consumer POM
2024-10-18 12:59:35 +02:00
Guillaume Nodet
2f7b9623fc
[MNG-8325] The ReactorReader should know about build/consumer POMs
2024-10-18 12:59:35 +02:00
Guillaume Nodet
c06965db88
[MNG-8326] The ModelBuilder cannot import BOM with classifiers
2024-10-18 12:59:35 +02:00
Sergey Ponomarev
989f798c9f
[MNG-8258] Change the fixed reproducible build outputTimestamp to 1 Feb 1980 ( #1813 )
...
The Maven used the year 2001 (beginning of 21st century).
But the Gradle already use the 1 Feb 1980 for preserveFileTimestamps.
The 1 Jan 1980 is a minimal date in Zip archive but the 1 Jan has some special treatment by Java that's why the Gradle team used the 1 Feb.
See more detailed description in CONSTANT_TIME_FOR_ZIP_ENTRIES
https://github.com/gradle/gradle/blob/master/platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntryConstants.java#L39
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-10-17 17:05:39 +02:00
Guillaume Nodet
1cff5947ac
Revert "Make rootDirectory really mandatory" ( #1800 )
...
This reverts commit 608a99fb08
.
---
https://issues.apache.org/jira/browse/MNG-8302
2024-10-16 16:22:26 +02:00
Guillaume Nodet
4e5c89c403
[MNG-8299] Fix ordering of phases from custom lifecycles ( #1802 )
...
---
https://issues.apache.org/jira/browse/MNG-8299
2024-10-16 16:19:33 +02:00
Guillaume Nodet
0d04bb9a21
[MNG-8041] Move PathScope into the dependency collection request ( #1807 )
...
JIRA issue: [MNG-8041](https://issues.apache.org/jira/browse/MNG-8041 )
IT PR: https://github.com/apache/maven-integration-testing/pull/390
2024-10-16 16:15:37 +02:00
Guillaume Nodet
ee29050d0f
[MNG-8296] Support creating unknown Language on the fly ( #1809 )
...
---
https://issues.apache.org/jira/browse/MNG-8296
2024-10-16 16:14:07 +02:00
Guillaume Nodet
740100b50c
[MNG-8309] Improve log infrastructure (first step toward multi-threading log view support) ( #1792 )
...
Move logging infrastructure to support multi threaded output from mvnd to maven.
Refactor a bit the terminal/log creation done by Cling.
2024-10-15 15:30:39 +02:00
Tamas Cservenak
f5e54ca6fa
[MNG-8285] Implement mvnenc CLI tool ( #1793 )
...
Implements the `mvnenc` tool that is on par with Maven3 master password encryption functionality wise, but is _really secure_ unlike Maven3 conterpart. On the other hand, _is backward compatible if legacy config is setup_.
Implemented goals: `init`, `encrypt`, `decrypt`, `diag`. Also provides one extra "master source" based on Maven infra Prompter: console master password prompt.
---
https://issues.apache.org/jira/browse/MNG-8285
2024-10-14 21:57:22 +02:00
Guillaume Nodet
fee69f2f89
[MNG-8294] Consistency checks when loading parent ( #1784 )
2024-10-09 13:07:31 +02:00
Tamas Cservenak
445236398d
Make rootDirectory mandatory ( #1787 )
...
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-10-08 21:45:28 +02:00
Guillaume Nodet
81af852fce
Cut link between maven-core maven-resolver-provider ( #1777 )
2024-10-08 11:04:45 +02:00
Guillaume Nodet
a6ecbde9e9
Fix concurrency issue in DefaultModelValidator ( #1786 )
2024-10-08 11:04:20 +02:00
Guillaume Nodet
75e3c05841
[MNG-8279] The project local repository and project collectors are using maven.multiModuleProjectDirectory instead of rootDirectory
2024-10-02 23:26:46 +02:00
Guillaume Nodet
f6417e4944
[MNG-8281] Interpolator service
2024-10-02 23:26:05 +02:00
Hervé Boutemy
82cf96094f
[MNG-8258] activate Reproducible Builds by default ( #1726 )
2024-10-01 16:51:06 +02:00
Martin Desruisseaux
5249e1df4e
Remove a module-related exception which is not used anywhere. ( #1734 )
...
Maybe it was remanent of a previous module support attempt?
2024-10-01 16:36:05 +02:00
Guillaume Nodet
04f3609eb0
Fix possible NPE during project building ( #1759 )
2024-10-01 13:02:03 +02:00
Guillaume Nodet
2d224623a3
[MNG-8120] Refactor ModelBuilder and ProjectBuilder ( #1700 )
...
With the introduction of the build pom and raw -> build pom transformation, the construction of the effective poms in two steps become very problematic. Over the time, multiple caches have been added to the ProjectBuilder and ModelBuilder related classes which are often redundant.
This PR thus changes things and move the recursive construction of the models fully into the ModelBuilder in a single call. When building build poms, a first step is done by parsing the file models from the root, then building all needed effective models from those. All the inference can be cleanly done because the builder has all the file models ready. The result will be used by the ProjectBuilder to build the projects.
2024-09-28 11:03:24 +02:00
Tamas Cservenak
034ef155da
[MNG-8263] Remove last remnants of wrapper integration ( #1736 )
...
Last two bits to be removed:
* wrapper lifecycle
* exploded scripts
---
https://issues.apache.org/jira/browse/MNG-8263
2024-09-24 09:54:24 +02:00
Guillaume Nodet
8d9f8da444
[MNG-8239] Add missing ModelCacheFactory ( #1728 )
2024-09-18 13:42:07 +02:00
Guillaume Nodet
deb15be3b6
[MNG-8259] Improve Sisu / DI bridge ( #1722 )
2024-09-18 13:05:13 +02:00
Tamas Cservenak
7ea795b789
[MNG-8256] FilteredProjectDependencyGraph fix for non-transitive case ( #1723 )
...
The `FilteredProjectDependencyGraph` class fix for non-transitive case and an UT. Also contains some improvement in classes, making them immutable as intended.
---
https://issues.apache.org/jira/browse/MNG-8256
2024-09-12 22:50:39 +02:00
Guillaume Nodet
2b13a43c09
[MNG-8235] Move remote repositories into requests ( #1712 )
2024-09-12 08:19:14 +02:00
Guillaume Nodet
625b4561f0
[MNG-8232] Introduce ModelTransformer ( #1702 )
2024-09-12 08:15:53 +02:00
Guillaume Nodet
bcd5d9c9f9
DI improvements ( #1717 )
...
* Code cleanup
* Provide build path with causes when an exception occur
* Fix toString to display meaningful info
* Javadoc
* Add @NonNull and @Overrides annotations
* Support for @Nullable on fields and parameters
2024-09-12 08:14:46 +02:00
Guillaume Nodet
f137c13877
[MNG-8190] Restrict build pom feature to 4.1.0 model version ( #1707 )
2024-09-11 18:31:06 +02:00
Guillaume Nodet
8a61f7d20a
[MNG-8249] Provide an annotation processor for DI ( #1704 )
2024-09-10 19:18:47 +02:00
Tamas Cservenak
a98d530e33
[maven-release-plugin] prepare for next development iteration
2024-08-30 14:59:00 +02:00
Tamas Cservenak
697c543b4e
[maven-release-plugin] prepare release maven-4.0.0-beta-4
2024-08-30 14:58:34 +02:00
Guillaume Nodet
0c311e3da1
[MNG-8090] Fix missing repositories during parent artifact resolution
2024-08-30 11:17:17 +02:00
Guillaume Nodet
cdaf86cfe9
[MNG-8229] Fix interpolation of CI friendly versions
2024-08-30 11:17:17 +02:00
Guillaume Nodet
c0813a2b53
[MNG-7838] Fix usage of older packaged artifacts from project local repository ( #1199 )
2024-08-29 22:34:39 +02:00
Guillaume Nodet
b370e5e929
[MNG-8210] Replace Maven "module" term by "subproject" ( #1651 )
...
Co-authored-by: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
2024-08-29 20:21:40 +02:00
Guillaume Nodet
e11b475e8b
[MNG-8052] Concurrently lifecycle executor ( #1429 )
2024-08-29 19:44:53 +02:00
Guillaume Nodet
40fe1dc167
[MNG-8220] Fix loading DI-powered beans from extensions ( #1683 )
2024-08-29 17:32:53 +02:00
Guillaume Nodet
acec540547
[MNG-8052] New lifecycle for Maven 4 ( #1448 )
2024-08-29 06:48:54 +01:00
Guillaume Nodet
30dc81227b
Renaming of `ArtifactCoordinate.getVersion()` + documentation ( #1662 )
...
* Rename ArtifactCoordinate.getVersion() as getVersionConstraint().
* Introduce DownloadedArtifact, DownloadedDependency and ProducedArtifact.
* Rename coordinate -> coordinates.
* Add documentation on Artifact, ArtifactCoordinates, Dependency and DependencyCoordinates and other classes.
* Remove `LATEST` and `SNAPSHOT` from documentation since they are deprecated.
* Opportunistic addition of some missing `@Override` annotations.
---------
Co-authored-by: Martin Desruisseaux <martin.desruisseaux@geomatys.com>
2024-08-27 23:13:34 +02:00