[MNG-8293] Fix resolution of reactor models (#1783)

This commit is contained in:
Guillaume Nodet 2024-10-07 17:32:34 +02:00 committed by GitHub
parent b2b868f864
commit 954eae7b56
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1640,7 +1640,7 @@ public class DefaultModelBuilder implements ModelBuilder {
if (sources != null) {
for (ModelSource source : sources) {
Model model = derive(source).readRawModel();
if (Objects.equals(model.getVersion(), version)) {
if (Objects.equals(getVersion(model), version)) {
return source;
}
}