From 022f0216295a14924eed5f89e6cd651e4295da02 Mon Sep 17 00:00:00 2001 From: Zhe Sun Date: Thu, 29 Jun 2023 13:06:01 +0300 Subject: [PATCH] chore: group platform modules in a profile, remove gradle module activation rule (CP: 23.3) --- hilla-react/pom.xml | 3 ++ hilla-spring-boot-starter/pom.xml | 4 ++ hilla/pom.xml | 4 ++ pom.xml | 41 ++++++++++++------- .../templates/template-hilla-bom.xml | 4 ++ .../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 +- 9 files changed, 46 insertions(+), 17 deletions(-) diff --git a/hilla-react/pom.xml b/hilla-react/pom.xml index 99a56d1ad..fd67e8408 100644 --- a/hilla-react/pom.xml +++ b/hilla-react/pom.xml @@ -14,6 +14,9 @@ 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 74236cccb..a95592b93 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 7beea8f39..c1c8b717f 100644 --- a/hilla/pom.xml +++ b/hilla/pom.xml @@ -14,6 +14,10 @@ Hilla Platform ${hilla.version} https://hilla.dev + + + false + vaadin-prereleases diff --git a/pom.xml b/pom.xml index 650ea3bdd..de2b7df94 100644 --- a/pom.xml +++ b/pom.xml @@ -29,17 +29,6 @@ - - vaadin - vaadin-spring-bom - vaadin-bom - vaadin-core - vaadin-maven-plugin - vaadin-testbench - vaadin-spring-boot-starter - vaadin-platform-javadoc - - sbom @@ -49,9 +38,6 @@ gradle - - (,17] - vaadin-gradle-plugin vaadin-gradle-plugin/pom-portal.xml @@ -75,6 +61,33 @@ hilla-spring-boot-starter hilla-maven-plugin + + + true + + + + + platform + + + !skipPlatform + + + + vaadin + vaadin-spring-bom + vaadin-bom + vaadin-core + vaadin-maven-plugin + vaadin-testbench + vaadin-spring-boot-starter + vaadin-platform-javadoc + + + false + diff --git a/scripts/generator/templates/template-hilla-bom.xml b/scripts/generator/templates/template-hilla-bom.xml index a1cb23f5b..c0526ed71 100644 --- a/scripts/generator/templates/template-hilla-bom.xml +++ b/scripts/generator/templates/template-hilla-bom.xml @@ -14,6 +14,10 @@ ${hilla.version} https://hilla.dev + + false + + vaadin-prereleases diff --git a/scripts/generator/templates/template-hilla-maven-plugin-pom.xml b/scripts/generator/templates/template-hilla-maven-plugin-pom.xml index 0e71373d0..a74c743c1 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.4 + false diff --git a/scripts/generator/templates/template-servlet-containers-tests-pom.xml b/scripts/generator/templates/template-servlet-containers-tests-pom.xml index 853e3e9fb..ba0c2ad5d 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 + false {{javadeps}} diff --git a/vaadin-platform-hybrid-test/pom.xml b/vaadin-platform-hybrid-test/pom.xml index 52a3039b7..0767bd9e8 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 + false diff --git a/vaadin-platform-test/pom.xml b/vaadin-platform-test/pom.xml index 9c086ac87..47a7180cb 100644 --- a/vaadin-platform-test/pom.xml +++ b/vaadin-platform-test/pom.xml @@ -18,7 +18,7 @@ UTF-8 UTF-8 false - true + false ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}