You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "cstamas (via GitHub)" <gi...@apache.org> on 2026/03/10 13:15:45 UTC
[PR] Maven 3.9.x resolver 2.x [maven]
cstamas opened a new pull request, #11778:
URL: https://github.com/apache/maven/pull/11778
This is Maven 3.x line using Resolver 2.x.
Notable:
* the Resolver 1.x "http" HTTP transport got renamed to "apache" transport (IT MavenITmng7470ResolverTransportTest needs change for this):
```diff
diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java
index 56970ec47..2c7a85652 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7470ResolverTransportTest.java
@@ -100,7 +100,7 @@ public class MavenITmng7470ResolverTransportTest extends AbstractMavenIntegratio
private static final String WAGON_LOG_SNIPPET = "[DEBUG] Using transporter WagonTransporter";
- private static final String NATIVE_LOG_SNIPPET = "[DEBUG] Using transporter HttpTransporter";
+ private static final String NATIVE_LOG_SNIPPET = "[DEBUG] Using transporter ApacheTransporter";
@Test
public void testResolverTransportDefault() throws Exception {
```
* IT MavenITmng4368TimestampAwareArtifactInstallerTest is fluke: Resolver 2.x unlike Resolver 1.x _always installs if asked to install_. Resolver 1.x had some rudimentary logic (file timestamp, file size) to perform "change detection" that was removed from Resolver 2.x. If user wants "conditional install" then the install API call needs to be wrapped into condition.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat: Maven 3.x with Resolver 2.x [maven]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on code in PR #11778:
URL: https://github.com/apache/maven/pull/11778#discussion_r3052083510
##########
pom.xml:
##########
@@ -509,6 +514,16 @@ under the License.
</dependencies>
</dependencyManagement>
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>maven-2404</id>
+ <url>https://repository.apache.org/content/repositories/maven-2404/</url>
+ </repository>
+ </repositories>
Review Comment:
Dropped
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat: Maven 3.x with Resolver 2.x [maven]
Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on code in PR #11778:
URL: https://github.com/apache/maven/pull/11778#discussion_r3047785255
##########
pom.xml:
##########
@@ -509,6 +514,16 @@ under the License.
</dependencies>
</dependencyManagement>
+ <repositories>
+ <repository>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ <id>maven-2404</id>
+ <url>https://repository.apache.org/content/repositories/maven-2404/</url>
+ </repository>
+ </repositories>
Review Comment:
Is it needed?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Maven 3.x with Resolver 2.x [maven]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on PR #11778:
URL: https://github.com/apache/maven/pull/11778#issuecomment-4031321559
This PR waits for `maven-3.10.x` branch.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat: Maven 3.x with Resolver 2.x [maven]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on PR #11778:
URL: https://github.com/apache/maven/pull/11778#issuecomment-4031376019
I forgot I pushed `maven-3.9.x-resolver-2.x` to ITs, so only the MavenITmng4368TimestampAwareArtifactInstallerTest fails.
Once we have `maven-3.10.x` and version is set properly, we can make the IT to not run for 3.10.x
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat: Maven 3.x with Resolver 2.x [maven]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas merged PR #11778:
URL: https://github.com/apache/maven/pull/11778
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat: Maven 3.x with Resolver 2.x [maven]
Posted by "cstamas (via GitHub)" <gi...@apache.org>.
cstamas commented on PR #11778:
URL: https://github.com/apache/maven/pull/11778#issuecomment-5025007510
This PR updates Maven dependency on Resolver from 1.9.x to 2.0.x.
Yes, as Resolver 2.x automatically resolves prefixes.
But, 3.10.0 GA will use Resolver 2.0.21 (currently on vote) that has this:
https://github.com/apache/maven-resolver/pull/1976
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat: Maven 3.x with Resolver 2.x [maven]
Posted by "jglick (via GitHub)" <gi...@apache.org>.
jglick commented on PR #11778:
URL: https://github.com/apache/maven/pull/11778#issuecomment-5024840192
Does this expose 3.10 to https://github.com/apache/maven/issues/11856? Could not grasp what this is about from a quick read.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org