From c40c617452ecdae1f2b80252e0515cd5d48c1940 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Thu, 29 Aug 2024 08:22:22 +0200 Subject: [PATCH] DAT-18315 Add liquibase.build.properties file with commit information to all extensions (#187) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ⬆️ (pom.xml): downgrade version from 0.5.0-SNAPSHOT to 0.4.3-SNAPSHOT for Liquibase Parent POM 🔧 (pom.xml): add buildnumber-maven-plugin to generate build properties during the validate phase * 📝 (pom.xml): add branch configuration to use the correct branch name in the build process * 🔧 (pom.xml): Update resource configuration to include a new directory for filtered resources with filtering disabled ♻️ (pom.xml): Refactor configuration to set doCheck and doUpdate properties to false for better build process control ♻️ (pom.xml): Refactor execution configuration to change id to 'filter-resources' and phase to 'process-resources' for clarity * 🔧 (pom.xml): remove redundant buildnumber-maven-plugin configuration and move it to a separate plugin block for better organization and clarity * ⬆️ (pom.xml): upgrade buildnumber-maven-plugin version to 3.2.0 for compatibility and improved functionality ♻️ (pom.xml): refactor buildnumber-maven-plugin version to use a variable for better maintainability and consistency * 📝 (pom.xml): add buildNumber property to dynamically set the build number using GitHub Actions environment variable GITHUB_RUN_ID --- pom.xml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9dfb7ee..714fa5e 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.liquibase liquibase-parent-pom Liquibase Parent POM - 0.5.0-SNAPSHOT + 0.4.3-SNAPSHOT Liquibase Parent POM for all Extensions https://github.com/liquibase/liquibase-parent-pom pom @@ -35,6 +35,7 @@ + ${env.GITHUB_RUN_ID} 1.8 1.8 UTF-8 @@ -52,6 +53,7 @@ ${project.description} 3.24.2 + 3.2.0 3.4.0 2.15.1 1.0.1 @@ -439,6 +441,24 @@ build-helper-maven-plugin ${build-helper-maven-plugin.version} + + org.codehaus.mojo + buildnumber-maven-plugin + ${buildnumber-maven-plugin.version} + + + validate + + create + + + + + false + false + ${maven.build.timestamp.format} + +