Skip to content

Commit ef19fe4

Browse files
committed
Fix superpom info location
1 parent e830d66 commit ef19fe4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSuperPomProvider.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ private Model readModel(String version, String v) {
6262
+ ", please verify the integrity of your Maven installation");
6363
}
6464
try (InputStream is = url.openStream()) {
65-
String modelId = "org.apache.maven:maven-model-builder:" + version + "-"
66-
+ this.getClass().getPackage().getImplementationVersion() + ":super-pom";
65+
String modelId = "org.apache.maven:maven-api-impl:"
66+
+ this.getClass().getPackage().getImplementationVersion() + ":super-pom-" + version;
6767
return modelProcessor.read(XmlReaderRequest.builder()
6868
.modelId(modelId)
6969
.location(url.toExternalForm())

0 commit comments

Comments
 (0)