From cc1503a03a542b66faffc7194a1c9d61a00f3a55 Mon Sep 17 00:00:00 2001 From: Alejandro Alvarez Date: Mon, 2 Oct 2023 16:20:55 +0200 Subject: [PATCH] Dat 15996 (#41) * chore(build-nightly.yml): remove nightly build workflow chore(pom.xml): update build-helper-maven-plugin version to 3.4.0 for compatibility improvements chore(pom.xml): update maven-failsafe-plugin version to 3.1.2 for bug fixes chore(pom.xml): update maven-resources-plugin version to 3.3.1 for compatibility improvements chore(pom.xml): update mockito-core version to 5.5.0 for new features and bug fixes chore(pom.xml): update mockito-junit-jupiter version to 5.5.0 for new features and bug fixes chore(pom.xml): update liquibase-test-harness version to 1.0.9 for compatibility improvements feat(pom.xml): add maven-failsafe-plugin configuration for integration tests feat(pom.xml): add executions for building javadoc and sources jars * chore(pom.xml): update version from 0.0.1-SNAPSHOT to 0.1.0-SNAPSHOT for consistency and clarity * chore(README.md): update liquibase-parent-pom version to 0.1.0 in the example code to reflect the desired version * chore(release-published.yml): update workflow file to use the correct extension release logic file chore(release-published.yml): update workflow file to use the correct pom release logic file for DAT-15505 * chore(release-published.yml): update workflow name to "Release Extension to Sonatype" for clarity and accuracy docs(pom.xml): add URL to the GitHub repository for the parent POM to provide more information and context * chore(pom.xml): update version from 0.2.0-SNAPSHOT to 0.1.0-SNAPSHOT to align with project versioning scheme * chore(attach-artifact-release.yml): update workflow to use latest version of extension-attach-artifact-release.yml chore(release-published.yml): update workflow to use latest version of extension-release-published.yml chore(pom.xml): add developer information for Nathan Voxland * chore(upload_asset.sh): remove unused script for uploading assets The script `.github/upload_asset.sh` was removed as it was no longer being used. This script was responsible for uploading assets to a GitHub release. However, it was not being used in the project anymore, so it was deleted to clean up the codebase. * feat(upload_asset.sh): add script to upload release assets to GitHub feat(attach-artifact-release.yml): add workflow to attach artifact to release when pull request is merged feat(release-published.yml): add workflow to publish release artifacts to Maven Central Repository * fix(release-published.yml): remove duplicate entry for jar.asc in the -Dtypes parameter to fix build issue * chore(release-published.yml): rename workflow from "Release Extension to Sonatype" to "Release POM to Sonatype" for clarity and accuracy chore(release-published.yml): remove unnecessary steps and configurations related to Java and Maven release artifacts chore(release-published.yml): update workflow to use the latest version of the "pom-release-published.yml" workflow from the "liquibase/build-logic" repository * chore(create-release.yml): update liquibase/build-logic version to v0.4.4 chore(release-published.yml): update liquibase/build-logic version to v0.4.4 chore(snyk-nightly.yml): update liquibase/build-logic version to v0.4.4 chore(test.yml): update liquibase/build-logic version to v0.4.4 chore(pom.xml): - Update Liquibase EULA URL to https://www.liquibase.com/eula - Add jackson-dataformat-yaml version 2.15.2 as a test dependency - Set scope of liquibase-core and liquibase-commercial dependencies to provided - Add resource filtering for src/main/resources directory - Set optimize and debug flags to true in maven-compiler-plugin configuration - Add ApacheNoticeResourceTransformer and ManifestResourceTransformer to maven-shade-plugin configuration - Add filters to exclude signature files from signed dependencies in maven-shade-plugin configuration - Add snapshot profile with liquibase-extension-testing and jackson-dataformat-yaml as test dependencies - Add gmavenplus-plugin configuration for snapshot profile - Add gmavenplus-plugin configuration for coverage profile * chore(pom.xml): update version from 0.1.0-SNAPSHOT to 0.1.1-SNAPSHOT for the liquibase-parent-pom * chore(create-release.yml): update liquibase/build-logic version to fix release prepare rollback chore(release-published.yml): update liquibase/build-logic version to fix release prepare rollback chore(pom.xml): update version of liquibase-parent-pom to 0.1.2-SNAPSHOT chore(pom.xml): update versions of commons-io, hsqldb, h2, mssql-jdbc, ojdbc8, and postgresql dependencies --- .github/workflows/create-release.yml | 2 +- .github/workflows/release-published.yml | 2 +- pom.xml | 50 ++++++++++++++++++++++++- 3 files changed, 50 insertions(+), 4 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 4b39904..0c3e22d 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -7,5 +7,5 @@ on: jobs: create-release: - uses: liquibase/build-logic/.github/workflows/create-release.yml@v0.4.4 + uses: liquibase/build-logic/.github/workflows/create-release.yml@fix-release-prepare-rollback secrets: inherit diff --git a/.github/workflows/release-published.yml b/.github/workflows/release-published.yml index 6469176..c97df40 100644 --- a/.github/workflows/release-published.yml +++ b/.github/workflows/release-published.yml @@ -11,5 +11,5 @@ permissions: jobs: release: - uses: liquibase/build-logic/.github/workflows/pom-release-published.yml@v0.4.4 + uses: liquibase/build-logic/.github/workflows/pom-release-published.yml@fix-release-prepare-rollback secrets: inherit diff --git a/pom.xml b/pom.xml index 814c0e3..cc0c192 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ org.liquibase liquibase-parent-pom Parent POM - 0.1.1-SNAPSHOT + 0.1.2-SNAPSHOT Parent POM for all Extensions https://github.com/liquibase/liquibase-parent-pom pom @@ -58,6 +58,7 @@ 3.24.2 3.4.0 + 2.11.0 1.0.1 3.0.0 3.0.19 @@ -68,6 +69,8 @@ 5.10.0 1.10.0 1.5.1 + 2.7.1 + 2.1.214 1.0.9 1.18.28 3.11.0 @@ -81,8 +84,11 @@ 3.3.1 5.5.0 5.5.0 + 12.2.0.jre8 1.6.13 + 21.9.0.0 20230618 + 42.6.0 3.9.1.2184 2.2 2.4-M1-groovy-3.0 @@ -123,6 +129,11 @@ ${liquibase.version} provided + + commons-io + commons-io + ${commons-io.version} + org.junit.jupiter junit-jupiter-api @@ -196,6 +207,11 @@ ${slf4j.version} test + + org.slf4j + slf4j-jdk14 + ${slf4j.version} + org.projectlombok lombok @@ -208,7 +224,7 @@ ${snakeyaml.version} test - + org.codehaus.groovy groovy-all ${groovy-all.version} @@ -251,6 +267,36 @@ ${jackson-core.version} compile + + com.h2database + h2 + ${h2.version} + test + + + org.hsqldb + hsqldb + ${hsqldb.version} + test + + + com.microsoft.sqlserver + mssql-jdbc + ${mssql.version} + test + + + com.oracle.database.jdbc + ojdbc8 + ${oracle.version} + test + + + org.postgresql + postgresql + ${postgresql.version} + test +