Guillaume Nodet
124033bc04
[MNG-7548] Kill off "legacy" repository metadata support ( #1138 )
2023-06-05 10:45:36 +02:00
Guillaume Nodet
e08c95a673
[MNG-7655] Switch to plexus-utils / plexus-xml 4 ( #1093 )
2023-06-04 21:03:41 +02:00
Karl Heinz Marbaise
c49c4e0b18
[MNG-7451] - Remove public modifier from test methods / test classes
2023-04-15 19:24:20 +02:00
Guillaume Nodet
8052c720e7
[maven-release-plugin] prepare for next development iteration
2023-03-15 17:06:58 +01:00
Guillaume Nodet
26d10a4bf9
[maven-release-plugin] prepare release maven-4.0.0-alpha-5
2023-03-15 17:06:43 +01:00
Guillaume Nodet
10128b4484
Remove references to Xpp3DomBuilder and use XmlNodeBuilder instead ( #1045 )
2023-03-09 16:26:58 +01:00
Tamas Cservenak
c1dfb947b5
[MNG-7715] Update to resolver 1.9.6 ( #1036 )
...
Adjust some UTs as error message did change.
---
https://issues.apache.org/jira/browse/MNG-7715
2023-03-06 11:17:56 +01:00
Andrey Bruykhov
6e25a2674b
[MNG-7686] Speed up by replacing non-pattern #replaceAll() with #replace() or precompiled patterns
...
This closes #984
2023-02-07 21:55:12 +01:00
Guillaume Nodet
fbeefb85ab
[maven-release-plugin] prepare for next development iteration
2023-01-27 16:33:47 +01:00
Guillaume Nodet
009cf4a721
[maven-release-plugin] prepare release maven-4.0.0-alpha-4
2023-01-27 16:33:38 +01:00
Hervé Boutemy
fbdf109b34
[MNG-7571] add Maven API javadoc ( #830 )
2022-12-31 17:32:07 +01:00
Guillaume Nodet
8150c62749
[MNG-7650] Reformat
2022-12-26 16:12:32 +01:00
Michael Osipov
968c1a25f5
[MNG-7634] Revert MNG-5982 and MNG-7417
...
This closes #916
2022-12-20 09:10:10 +01: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
de19cfcd2b
[MNG-7601] Reformat sources
2022-11-22 14:26:01 +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
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
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
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
Tamas Cservenak
3bc2cf6a7a
[MNG-7547] Simpler G level metadata generation ( #806 )
2022-10-11 14:11:17 +02:00
Guillaume Nodet
2a9f39336c
[MNG-7553] New clean API with immutable model ( #703 )
2022-10-02 10:41:25 +02:00
Sylwester Lachiewicz
5502c0c8db
[MNG-7502] Upgrade to Guice 5.1.0
2022-09-10 21:27:25 +02:00
Henning Schmiedehausen
e410a6ce1d
MNG-7529 alternate fix ( #795 )
...
[MNG-7529] Maven resolver makes bad repository choices
Structure the version checks slightly different to make the separation
between repository versions and the version range resolution clearer.
2022-08-31 09:47:00 -07:00
Henning Schmiedehausen
ce4579108d
[MNG-7529] Maven resolver makes bad repository choices ( #786 )
...
Ensure that any versions resolved as part of a version range request
only reference repositories that are actually enabled for the type of
version (SNAPSHOT versions against snapshot repos, release versions
against release repositories).
2022-08-24 21:26:19 -07:00
Tamas Cservenak
be2b7f890d
[MNG-7454] Include resolver-transport-http in Maven ( #711 )
...
But keep Wagon as default transport. This PR merely includes
resolver http and file transport and switches wagon-http
to non-shaded one.
Changes:
* switch to non-shaded wagon-http (as httpClient is now shared)
* include resolver http and file transport
* override resolver default behaviour (native transport preferred over wagon, when both on classpath)
* provide simplistic means to choose transport
The chosen transport can be seen in debug (-X) output on line
`[DEBUG] Using transporter XXX...`
The `-Dmaven.transport` simplistic switch can be used to choose transport:
* not set: default, that is Wagon
* `wagon`: explicitly sets Wagon
* `resolver`: explicitly sets resolver native transports (file and http)
* `auto`: relies on resolver "auto discovery" (priorities, etc). This is MUST to keep transport pluggable with 3rd party transports. In fact, this was the default so far in Maven, along with the fact that native resolver transports were not included (as resolver prefers native ones over Wagon).
2022-04-13 12:51:37 +02:00
Guillaume Nodet
b3d5c12c7a
[master][MNG-7350] Introduce a factory for ModelCache ( #629 )
...
* [MNG-7350] Introduce a factory for ModelCache
* [MNG-7350] Introduce a factory for ModelCache
Fix missing javadoc and binding
2022-03-09 13:29:51 +01:00
Sylwester Lachiewicz
69d6c6d5a2
[MNG-7417] Several classes do not set properties properly for building requests
...
This closes #306
2022-02-20 19:17:47 +01:00
Guillaume Nodet
6b607109d3
[MNG-7349] Limit relocation warning message to direct dependencies only
...
# Conflicts:
# maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultArtifactDescriptorReader.java
2022-01-24 07:57:43 +01:00
Michael Osipov
46d57bdb3f
[MNG-7374] Mutating RelocatedArtifact does not retain type
...
This closes #641
2021-12-30 16:50:58 +01:00
Arturo Bernal
d61fcf7da1
[MNG-7288] Remove redundant local variables
...
Closes #569
2021-10-10 12:42:12 +02:00
Arturo Bernal
e50d65d228
MNG-7295 - Remove redundant/unused import statements.
2021-10-09 16:26:14 +02:00
Tamas Cservenak
69ee0c8b59
[MNG-7103] VersionScheme provider ( #563 )
...
This PR makes VersionScheme a component, is injected where needed
(instead of ad-hoc instantiation), but provides room for
different schemas, as GenericVersionScheme is "default"
but now nothing stops to add other schemes as well.
2021-10-04 11:55:18 +02:00
Tamas Cservenak
d141957ff5
[MNG-7055] Fix G level metadata handling ( #555 )
...
Maven Artifact Transfer silently prevents group level metadata to reach Resolver and causes metadata loss on install/deploy. Fix is to "bridge" this from maven-resolver-provider (and core) by reusing the actual metadata that m-plugin-p:addPluginArtifactMetadata mojo adds, but m-a-t filters out.
2021-10-02 15:22:32 +02:00
Guillaume Nodet
35e5a4d71d
[MNG-5577] Use JSR 330 constructor injection
...
# Conflicts:
# maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java
2021-10-02 12:26:22 +02:00
Guillaume Nodet
1ab49b349f
Remove deprecated usage of ServiceLocator/Service
2021-10-02 12:26:22 +02:00
Guillaume Nodet
e30c1bf9fc
Add a unit test for MavenRepositorySystemUtils#newSession
2021-10-02 12:26:22 +02:00
Guoxiong Li
5fd536853f
[MNG-7248] Fix warnings issued by dependency:analyze
...
This changeset does intentionally not touch Guice and its dependencies
as well as test-scoped dependencies.
This closes #546
2021-09-24 20:55:03 +02:00
George Gastaldi
a1ba33069f
[MNG-7253] Display relocation message defined in model
...
Move logging to DefaultArtifactDescriptorReader
This closes #543
2021-09-18 20:39:37 +02:00
Michael Osipov
b551be7445
Document hacks as such
2021-07-02 17:50:44 +02:00
rfscholte
12f3e7e878
Remove maven-test-support in favor of plexus-testing
2021-05-28 18:26:03 +02:00
Michael Osipov
fc806a25eb
[MNG-7151] Upgrade Maven Resolver to 1.7.0
2021-05-11 20:59:18 +02:00
Michael Osipov
1a65351b43
Revert "[MNG-6772] Prevent Super POM central entry from overriding"
...
This reverts commit 2a23d7bf16
.
2021-04-22 18:45:57 +02:00
Michael Osipov
a5c68f7a4a
Revert "[MNG-7046] Revert MNG-5639 and make repo config static only"
...
This reverts commit 8c9c303f9c
.
2021-03-13 17:09:40 +01:00
Guillaume Nodet
619973b91c
[MNG-7063] Infinite loop using Shade plugin and JUnit 5 dependency
...
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-02-14 15:52:04 +01:00
Guillaume Nodet
48fc10889e
[MNG-7077] Use JUnit 5 extension
...
Signed-off-by: rfscholte <rfscholte@apache.org>
2021-02-12 17:21:59 +01:00
boris-unckel
1e575a2bd7
[MNG-7068] Active dependency management for Google Guice/Guava
...
This closes #462
2021-02-02 14:17:43 +01:00