Fix superpom info location

This commit is contained in:
Guillaume Nodet 2024-10-16 22:22:28 +02:00
parent c504c83b99
commit 4da2eb9622
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ public class DefaultSuperPomProvider implements SuperPomProvider {
+ ", 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())