Skip to content

Commit

Permalink
Do not add version aliases to known aliases (#557)
Browse files Browse the repository at this point in the history
It is possible that a version alias is defined, but that its library
isn't (e.g when importing BOMs). This causes some modules to be
missing from the generated platform catalog.

Fixes micronaut-projects/micronaut-platform#283
  • Loading branch information
melix committed May 10, 2023
1 parent da1be3d commit e2ff960
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ class VersionCatalogConverter {
model.versionsTable.each { version ->
if (version.reference.startsWith('managed-')) {
def alias = version.reference.substring(8)
knownAliases.add(alias)
builder.version(alias, version.version.require)
}
}
Expand Down

0 comments on commit e2ff960

Please sign in to comment.