From ef19fe4b1b2f38a329cf1491ec5123175840b34d Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Wed, 16 Oct 2024 22:22:28 +0200 Subject: [PATCH] Fix superpom info location --- .../apache/maven/internal/impl/DefaultSuperPomProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java b/maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java index 58f75895a42a..c035af5de7ba 100644 --- a/maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java +++ b/maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java @@ -62,8 +62,8 @@ private Model readModel(String version, String v) { + ", please verify the integrity of your Maven installation"); } try (InputStream is = url.openStream()) { - String modelId = "org.apache.maven:maven-model-builder:" + version + "-" - + this.getClass().getPackage().getImplementationVersion() + ":super-pom"; + String modelId = "org.apache.maven:maven-api-impl:" + + this.getClass().getPackage().getImplementationVersion() + ":super-pom-" + version; return modelProcessor.read(XmlReaderRequest.builder() .modelId(modelId) .location(url.toExternalForm())