Commit Graph

12180 Commits

Author SHA1 Message Date
Guillaume Nodet 828faba819 [maven-release-plugin] prepare release maven-4.0.0-beta-2 2024-05-13 18:36:20 +02:00
Guillaume Nodet bde81a4d85 [MNG-8108] Fix problem when building the consumer pom 2024-05-13 18:34:29 +02:00
Guillaume Nodet d296927de2
[MNG-8119] Remove build section from profiles in the consumer pom (#1503) 2024-05-13 14:04:39 +02:00
Guillaume Nodet 9442164ab2
[MNG-8108] Fix problem when building the consumer pom (#1506) 2024-05-13 13:15:23 +02:00
Martin Desruisseaux 583667a869
[MNG-8015] Adjustments in new API related to PathType (#1501)
* Javadoc cleanup and replacement of some `System.getProperty("...")` by more specific standard methods.

* Add Type.PROCESSOR, MODULAR_PROCESSOR and CLASSPATH_PROCESSOR.

* Modification of the path type API:

* Add a `warningForFilenameBasedAutomodules()` method in `DependencyResolverResult`.
* Add relationships from `JavaPathType` to `javax.tool` location API.
* Modify the `PathType.option(Iterable<? extends Path>)` return type
  because the option and the value need to be two separated arguments.

* Fixes according some comments on the pull request.
2024-05-13 11:53:45 +02:00
dependabot[bot] c363e272ea
Bump org.xmlunit:xmlunit-core from 2.9.1 to 2.10.0 (#1494)
Bumps [org.xmlunit:xmlunit-core](https://github.com/xmlunit/xmlunit) from 2.9.1 to 2.10.0.
- [Release notes](https://github.com/xmlunit/xmlunit/releases)
- [Changelog](https://github.com/xmlunit/xmlunit/blob/main/RELEASE_NOTES.md)
- [Commits](https://github.com/xmlunit/xmlunit/compare/v2.9.1...v2.10.0)

---
updated-dependencies:
- dependency-name: org.xmlunit:xmlunit-core
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 11:53:15 +02:00
Guillaume Nodet 0564480440
[MNG-8118] Merge BOM exclusions instead of overwriting (#1504) 2024-05-13 08:24:14 +02:00
Tamas Cservenak ba52bfe600
[MNG-8117] Maven PluginVersionResolver improvement (#1502)
Produces output like this:
https://gist.github.com/cstamas/3ca4bc6cea5f701054061871b5db3f35

---

https://issues.apache.org/jira/browse/MNG-8117
2024-05-09 22:17:59 +02:00
Hervé Boutemy d8199bf3b9
[MNG-8084] add system properties to test (#1500)
fixes ./${user.home} directory creation during tests execution
2024-05-06 07:31:23 +02:00
Tamas Cservenak 3d3137920a
[MNG-8073] Adding ASL2 header to XSD files (#1499)
Using latest modello release and putting license
into POM.

---

https://issues.apache.org/jira/browse/MNG-8073
2024-05-03 21:05:01 +02:00
Guillaume Nodet d19f28e793
Upgrade plexus-interactivity-api to 1.3 (#1498) 2024-05-03 16:22:08 +02:00
Guillaume Nodet 7451585a19
Fix reactor loading problems (#1497) 2024-05-03 10:48:38 +02:00
Guillaume Nodet febfd2b5c9
Resolver updates (#1495) 2024-05-02 18:33:18 +02:00
Guillaume Nodet 64e9447926
Fix consumer pom builder (#1491) 2024-05-02 17:10:38 +02:00
Matt Benson 399f8b4ffc
[MNG-8081] interpolate available properties during default profile selection (Maven 4.x) (#1446)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-05-02 15:13:07 +02:00
Jermaine Hua 6814ba386d
Simplified redundant judgment (#1489)
Signed-off-by: crazyhzm <crazyhzm@apache.org>
2024-05-02 14:51:05 +02:00
Tamas Cservenak b35aa27b80 Maven Resolver 2.0.0-alpha-11 is released
Drop the staging repository from POM.
2024-04-29 10:03:47 +02:00
Hervé Boutemy 9ee77a8cb2 [MNG-8084] add API metadata group 2024-04-29 08:09:57 +02:00
Tamas Cservenak 8fbbbc978c
[MNG-8107] Update Resolver 2.0.0-alpha-11 (#1488)
Update to Resolver 2.0.0-alpha-11 and restore renamed class.

---

https://issues.apache.org/jira/browse/MNG-8107
2024-04-26 15:10:42 +02:00
Guillaume Nodet 6fddd97513
Use the new resolver provider (#1483) 2024-04-25 16:13:36 +02:00
Guillaume Nodet 8d6bf5f033
Fix terminal usage in mvnd (#1486)
mvnd needs to set its own terminal, so we need to open the door for that
2024-04-25 15:48:49 +02:00
Tamas Cservenak 854589b131
[MNG-8106] Fix metadata merge (#1481)
As currently if given metadata serves multiple roles (G, A or V level), data loss occurs.

---

https://issues.apache.org/jira/browse/MNG-8106
2024-04-25 12:10:21 +02:00
Guillaume Nodet 31d2dc1815
[MNG-8105] Upgrade JLine to 3.26.1 (#1485) 2024-04-25 11:13:56 +02:00
Tamas Cservenak 81e2b3c1ee
Make Maven 4.0.0 be beta-1 (#1484) 2024-04-25 10:48:58 +02:00
Guillaume Nodet 9fc4f49917 Add missing dep 2024-04-25 07:46:50 +02:00
Guillaume Nodet 728473c54f Deprecate test classes in maven-compat which cause lots of warnings 2024-04-25 07:46:50 +02:00
Guillaume Nodet 5d1cfd47f3 Cleanup dependencies 2024-04-25 07:46:50 +02:00
Hervé Boutemy 41d1950a6d [MNG-8084] add di & api-impl
drop model-transform deleted in MNG-7877
2024-04-24 18:01:00 +02:00
Slawomir Jaranowski d0f05ffccf
[MNG-8103] Upgrade default plugin bindings (#1475)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-04-23 17:34:45 +02:00
Slawomir Jaranowski 529d80a169
[MNG-8102] Upgrade Parent to 42 (#1476)
Co-authored-by: Guillaume Nodet <gnodet@gmail.com>
2024-04-23 15:34:07 +02:00
Guillaume Nodet 5d15093532
[MNG-8105] Upgrade JLine to 3.26.0 (#1478) 2024-04-23 15:31:45 +02:00
Guillaume Nodet 3bad5068a2
[MNG-8025] Restore compatibility (#1467) 2024-04-23 15:29:46 +02:00
Guillaume Nodet 52c5659b25
Fix nasty concurrency issue in AbstractSession (#1479)
* Register the session explicitely
* Fix thread interrupted
2024-04-23 14:55:57 +02:00
Jonas Rutishauser aae74dfbee
[MNG-8082] Exceptions of proxied SessionScoped components are not working correctly (#1449)
Signed-off-by: Jonas Rutishauser <jonas.rutishauser@alumni.ethz.ch>
2024-04-23 14:52:20 +02:00
Hervé Boutemy 860310b692 [MNG-8043] document new default types, replacing artifact handlers 2024-04-23 08:12:44 +02:00
Guillaume Nodet ce87334f68 Fix split package in org.apache.maven.api.di 2024-04-22 15:58:08 +02:00
Hervé Boutemy fba2542aa2 [MNG-4840] fix requiredMavenVersion description #1445 2024-04-14 18:14:22 +01:00
Guillaume Nodet d075fe7e85 [MNG-8084] New model builder and resolver provider 2024-04-12 12:50:18 +02:00
Guillaume Nodet 9be08ccef8 [MNG-8084] Include lifecycle in the API 2024-04-12 12:50:18 +02:00
Guillaume Nodet 84e2d8ad3f
[MNG-8084] Include repository metadata in the API (#1465) 2024-04-11 16:06:34 +02:00
Tamas Cservenak 34863e6345
[MNG-8091] Update Resolver to 2.0.0-alpha-10 (#1460) 2024-04-04 11:51:19 +02:00
Guillaume Nodet 084e3f9500 Lazily create builders during transformations 2024-04-03 19:49:40 +02:00
Guillaume Nodet 8418fb3960 Cache parent artifact resolution 2024-04-03 19:49:40 +02:00
Guillaume Nodet 97518b5b29 Do not recreate nodes if merge does nothing 2024-04-03 19:49:40 +02:00
Guillaume Nodet a6f52774eb Boot JLine in async mode 2024-04-03 19:49:40 +02:00
Tamas Cservenak 691e3780e6
This is NOT a component (#1462)
See org.apache.maven.internal.impl.DefaultTransportProvider
2024-04-01 17:17:46 +02:00
Tamas Cservenak c16f45d858
[MNG-8089] Introduce fat-JAR types (#1459)
These are dependency types to be used when dependency is "self contained", or is wanted be used as such: handle if like it has no dependencies, if any.

---

https://issues.apache.org/jira/browse/MNG-8089
2024-03-29 10:32:19 +01:00
Tamas Cservenak 2594047014
[MNG-8088] Using Resolver with MRESOLVER-512 (#1442)
This makes all the new scopes implemented out of the box, but MNG-8041 still stands (is unsolved).

Related PR https://github.com/apache/maven-resolver/pull/445

---

https://issues.apache.org/jira/browse/MRESOLVER-512
https://issues.apache.org/jira/browse/MNG-8088
2024-03-27 15:46:12 +01:00
Guillaume Nodet a5ea944c99
Remove unneeded dependencies in maven-di (#1440) 2024-03-25 23:31:02 +01:00
Guillaume Nodet 003a5bc06d
[MNG-8084] Make the v4 api usable outside the Maven runtime (#1441) 2024-03-25 11:50:01 +01:00