From 12de7a0b9b24deaa1428a8a524f0aca55df3f27e Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Thu, 12 Sep 2024 08:41:27 +0200 Subject: [PATCH] chore: prevent jandex artifact to import transitive dependencies (#19937) (#19939) Makes all flow-jandex dependencies provided scoped to prevent optional adding transitive dependencies on the user project. Also removes optional dependencies that might not be automatically added by Vaadin (e.g. polymer templates) or excluded by the user project (e.g. vaadin-dev-server). Part of vaadin/quarkus#158 Co-authored-by: Marco Collovati --- flow-jandex/pom.xml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/flow-jandex/pom.xml b/flow-jandex/pom.xml index 441fc03bc66..29aa8c0e2ca 100644 --- a/flow-jandex/pom.xml +++ b/flow-jandex/pom.xml @@ -35,46 +35,43 @@ com.vaadin flow-server ${project.version} - - - com.vaadin - flow-polymer-template - ${project.version} + provided com.vaadin flow-lit-template ${project.version} + provided com.vaadin flow-push ${project.version} + provided com.vaadin flow-data ${project.version} + provided com.vaadin flow-html-components ${project.version} + provided com.vaadin flow-server-production-mode ${project.version} + provided com.vaadin flow-dnd ${project.version} - - - com.vaadin - vaadin-dev-server - ${project.version} + provided