From 2fe4dac6136aa12d8734976e94baf5c30936eaf7 Mon Sep 17 00:00:00 2001 From: Quentin Date: Fri, 22 Nov 2024 19:42:22 +0100 Subject: [PATCH] Disable: Liquibase send analytics by default since 4.30 --- .../liquibase/main/LiquibaseConfiguration.java.mustache | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/resources/generator/server/springboot/dbmigration/liquibase/main/LiquibaseConfiguration.java.mustache b/src/main/resources/generator/server/springboot/dbmigration/liquibase/main/LiquibaseConfiguration.java.mustache index 90a7e9d5283..9115862ddee 100644 --- a/src/main/resources/generator/server/springboot/dbmigration/liquibase/main/LiquibaseConfiguration.java.mustache +++ b/src/main/resources/generator/server/springboot/dbmigration/liquibase/main/LiquibaseConfiguration.java.mustache @@ -73,6 +73,9 @@ class LiquibaseConfiguration { liquibase.setTestRollbackOnUpdate(liquibaseProperties.isTestRollbackOnUpdate()); liquibase.setShouldRun(liquibaseProperties.isEnabled()); + // https://github.com/liquibase/liquibase/issues/6501#issuecomment-2464909449 + System.setProperty("liquibase.analytics.enabled", "false"); + return liquibase; } }