Skip to content

Commit

Permalink
Fix superpom info location
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Oct 16, 2024
1 parent e830d66 commit ef19fe4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit ef19fe4

Please sign in to comment.