From 88f8571d022d2578501c53f8b13c75b05543039b Mon Sep 17 00:00:00 2001 From: Zhe Sun <31067185+ZheSun88@users.noreply.github.com> Date: Thu, 29 Jun 2023 12:55:32 +0300 Subject: [PATCH] chore: group platform modules in a profile, remove gradle module activation rule (CP: 24.0) (#4301) --- hilla-dev/pom.xml | 3 ++ hilla-react/pom.xml | 5 ++ hilla-spring-boot-starter/pom.xml | 4 ++ hilla/pom.xml | 3 ++ pom.xml | 51 ++++++++++++------- .../templates/template-hilla-bom.xml | 2 +- .../template-hilla-maven-plugin-pom.xml | 1 + .../template-servlet-containers-tests-pom.xml | 2 +- vaadin-platform-hybrid-test/pom.xml | 2 +- vaadin-platform-test/pom.xml | 2 +- 10 files changed, 52 insertions(+), 23 deletions(-) diff --git a/hilla-dev/pom.xml b/hilla-dev/pom.xml index faf0b54e1..a86507e1c 100644 --- a/hilla-dev/pom.xml +++ b/hilla-dev/pom.xml @@ -14,6 +14,9 @@ Hilla Platform Development Dependencies ${hilla.version} https://hilla.dev + + false + vaadin-prereleases diff --git a/hilla-react/pom.xml b/hilla-react/pom.xml index 57bac656a..ce9d9d682 100644 --- a/hilla-react/pom.xml +++ b/hilla-react/pom.xml @@ -14,6 +14,11 @@ Hilla Platform for React-based Applications ${hilla.version} https://hilla.dev + + + false + + vaadin-prereleases diff --git a/hilla-spring-boot-starter/pom.xml b/hilla-spring-boot-starter/pom.xml index f3d09c2ac..963e9d6d4 100644 --- a/hilla-spring-boot-starter/pom.xml +++ b/hilla-spring-boot-starter/pom.xml @@ -14,6 +14,10 @@ Spring Boot Starter for Hilla applications. ${hilla.version} + + false + + diff --git a/hilla/pom.xml b/hilla/pom.xml index 06af25b90..c949221fb 100644 --- a/hilla/pom.xml +++ b/hilla/pom.xml @@ -14,6 +14,9 @@ Hilla Platform ${hilla.version} https://hilla.dev + + false + vaadin-prereleases diff --git a/pom.xml b/pom.xml index de73a2287..0ecc608ab 100644 --- a/pom.xml +++ b/pom.xml @@ -31,22 +31,6 @@ - - vaadin-internal - vaadin - vaadin-spring-bom - vaadin-bom - vaadin-core-internal - vaadin-core - vaadin-dev - vaadin-maven-plugin - vaadin-testbench - vaadin-testbench-junit5 - vaadin-spring-boot-starter - vaadin-platform-javadoc - vaadin-dev-bundle - - sbom @@ -56,9 +40,6 @@ gradle - - (,18) - vaadin-gradle-plugin vaadin-gradle-plugin/pom-portal.xml @@ -83,6 +64,38 @@ hilla-spring-boot-starter hilla-maven-plugin + + + true + + + + + platform + + + !skipPlatform + + + + vaadin-internal + vaadin + vaadin-spring-bom + vaadin-bom + vaadin-core-internal + vaadin-core + vaadin-dev + vaadin-maven-plugin + vaadin-testbench + vaadin-testbench-junit5 + vaadin-spring-boot-starter + vaadin-platform-javadoc + vaadin-dev-bundle + + + false + diff --git a/scripts/generator/templates/template-hilla-bom.xml b/scripts/generator/templates/template-hilla-bom.xml index 07b89759e..0b3e6a836 100644 --- a/scripts/generator/templates/template-hilla-bom.xml +++ b/scripts/generator/templates/template-hilla-bom.xml @@ -15,7 +15,7 @@ https://hilla.dev - {{javadeps}} + false diff --git a/scripts/generator/templates/template-hilla-maven-plugin-pom.xml b/scripts/generator/templates/template-hilla-maven-plugin-pom.xml index 8db6ae99b..61d2744dd 100644 --- a/scripts/generator/templates/template-hilla-maven-plugin-pom.xml +++ b/scripts/generator/templates/template-hilla-maven-plugin-pom.xml @@ -24,6 +24,7 @@ UTF-8 UTF-8 3.8.6 + false diff --git a/scripts/generator/templates/template-servlet-containers-tests-pom.xml b/scripts/generator/templates/template-servlet-containers-tests-pom.xml index 4000d4ef4..6ecccb21d 100644 --- a/scripts/generator/templates/template-servlet-containers-tests-pom.xml +++ b/scripts/generator/templates/template-servlet-containers-tests-pom.xml @@ -18,7 +18,7 @@ UTF-8 UTF-8 false - true + true {{javadeps}} diff --git a/vaadin-platform-hybrid-test/pom.xml b/vaadin-platform-hybrid-test/pom.xml index a57b80cfe..11c1e23f2 100644 --- a/vaadin-platform-hybrid-test/pom.xml +++ b/vaadin-platform-hybrid-test/pom.xml @@ -18,7 +18,7 @@ UTF-8 UTF-8 false - true + true diff --git a/vaadin-platform-test/pom.xml b/vaadin-platform-test/pom.xml index 627c428f8..433300e68 100644 --- a/vaadin-platform-test/pom.xml +++ b/vaadin-platform-test/pom.xml @@ -15,7 +15,7 @@ UTF-8 UTF-8 false - true + true ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}