From 4830b572695617b876a9510dc85dd46063255fd4 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 2 Dec 2026 15:01:15 +0100 Subject: [PATCH] fix: build the bundles with the flow version the platform ships The 24.7-SNAPSHOT components declare flow 24.7-SNAPSHOT, which now pins react-router 7.18.7 while flow 24.7.21 pins 7.18.3, so the bundles no longer matched the applications using them. --- .../generator/templates/template-dev-bundle-pom.xml | 13 +++++++++++++ .../templates/template-hybrid-dev-bundle-pom.xml | 13 +++++++++++++ .../templates/template-prod-bundle-pom.xml | 13 +++++++++++++ 3 files changed, 39 insertions(+) diff --git a/scripts/generator/templates/template-dev-bundle-pom.xml b/scripts/generator/templates/template-dev-bundle-pom.xml index 19de6b2dc..592091397 100644 --- a/scripts/generator/templates/template-dev-bundle-pom.xml +++ b/scripts/generator/templates/template-dev-bundle-pom.xml @@ -24,6 +24,19 @@ {{javadeps}} + + + + + com.vaadin + flow-bom + ${flow.version} + pom + import + + + + + + com.vaadin + flow-bom + ${flow.version} + pom + import + + + + com.vaadin diff --git a/scripts/generator/templates/template-prod-bundle-pom.xml b/scripts/generator/templates/template-prod-bundle-pom.xml index 9a541809f..5d576d086 100644 --- a/scripts/generator/templates/template-prod-bundle-pom.xml +++ b/scripts/generator/templates/template-prod-bundle-pom.xml @@ -25,6 +25,19 @@ false + + + + + com.vaadin + flow-bom + ${flow.version} + pom + import + + + + com.vaadin