From 3f14d21fb2b59ad159c050b836c0bf77247b2975 Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:06:26 +0100 Subject: [PATCH 01/10] chore(pom.xml): update target JDK version to 11 in maven-pmd-plugin configuration for compatibility and to align with project requirements --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a59f4902..b6f836e5 100644 --- a/pom.xml +++ b/pom.xml @@ -193,7 +193,7 @@ maven-pmd-plugin - ${java.version} + 11 true false From 34f9bacaff7ad886598a79a8e4a2e25d39686ac3 Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:06:43 +0100 Subject: [PATCH 02/10] [maven-release-plugin] prepare release liquibase-percona-4.25.1 --- pom.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index b6f836e5..1e877505 100644 --- a/pom.xml +++ b/pom.xml @@ -10,14 +10,14 @@ org.liquibase.ext liquibase-percona - 4.25.1-SNAPSHOT + 4.25.1 Liquibase Percona Extension A Liquibase extension that makes use of the percona toolkit https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change - 2023-11-16T08:01:37+00:00 + 2023-11-30T12:06:33Z 4.25.0 8.2.0 3.2.0 @@ -483,4 +483,8 @@ + + + liquibase-percona-4.25.1 + From 0be5698df5720bd3ac5cf112b66a97784ea2f93a Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:06:43 +0100 Subject: [PATCH 03/10] [maven-release-plugin] prepare for next development iteration --- pom.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 1e877505..54d1fde7 100644 --- a/pom.xml +++ b/pom.xml @@ -10,14 +10,14 @@ org.liquibase.ext liquibase-percona - 4.25.1 + 4.25.2-SNAPSHOT Liquibase Percona Extension A Liquibase extension that makes use of the percona toolkit https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change - 2023-11-30T12:06:33Z + 2023-11-30T12:06:43Z 4.25.0 8.2.0 3.2.0 @@ -483,8 +483,4 @@ - - - liquibase-percona-4.25.1 - From 46284790c324f957a936b417682eb66f30929663 Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:07:29 +0100 Subject: [PATCH 04/10] chore(pom.xml): update liquibase-percona version from 4.25.2-SNAPSHOT to 4.25.1-SNAPSHOT for compatibility reasons --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 54d1fde7..5c22eebb 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ org.liquibase.ext liquibase-percona - 4.25.2-SNAPSHOT + 4.25.1-SNAPSHOT Liquibase Percona Extension A Liquibase extension that makes use of the percona toolkit https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change From 8215f3ec4ba14eccc22d004e1e0e2644504e75ec Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:36:56 +0100 Subject: [PATCH 05/10] chore(pom.xml): update Liquibase version to 4.25.0 chore(pom.xml): update Maven PMD plugin version to 3.4.0 chore(pom.xml): update Maven build-helper plugin version to 3.4.0 chore(pom.xml): update Maven Surefire plugin version to 3.0.0-M5 chore(pom.xml): update Maven Failsafe plugin version to 3.0.0-M5 chore(pom.xml): update Maven Compiler plugin configuration to use Java 1.8 chore(pom.xml): update Maven Enforcer plugin configuration to enforce Java 1.8 chore(pom.xml): update Maven Jar plugin configuration to add default implementation entries to manifest chore(pom.xml): update Maven PMD plugin configuration to use Java 1.8 chore(pom.xml): update Maven Surefire plugin configuration to use Java 1.8 chore(pom.xml): update Maven Failsafe plugin configuration to use Java 1.8 chore(pom.xml): update Maven Javadoc plugin version to 3.2.0 chore(pom.xml): update Maven Source plugin version to 3.2.0 chore(pom.xml): update Maven Jacoco plugin version to 0.8.7 chore(pom.xml): update Maven Copy Rename plugin version to 1.6.0 chore(pom.xml): update Maven Nexus Staging plugin version to 1.6.8 chore(pom.xml): update Maven Liquibase SDK plugin version to 0.10.20 chore(pom.xml): update Maven GMavenPlus plugin version to 3.0.2 chore(pom.xml): update Maven distributionManagement repository URLs chore(pom.xml): update Maven profile snapshot to use Liquibase version 4.24.0 chore(pom.xml): update Maven profile coverage to use Jacoco version 0.8.7 chore(pom.xml): update Maven profile coverage to use Maven Source plugin version 3.2.0 chore(pom.xml): update Maven profile coverage to use Maven Javadoc plugin version 3.2.0 chore(pom.xml): update Maven profile coverage to use Maven Copy Rename plugin version 1.6.0 chore(pom.xml): update Maven --- pom.xml | 268 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 257 insertions(+), 11 deletions(-) diff --git a/pom.xml b/pom.xml index 5c22eebb..209390f7 100644 --- a/pom.xml +++ b/pom.xml @@ -1,27 +1,53 @@ 4.0.0 - - - org.liquibase - liquibase-parent-pom - 0.3.3 - - org.liquibase.ext liquibase-percona 4.25.1-SNAPSHOT Liquibase Percona Extension A Liquibase extension that makes use of the percona toolkit https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change + + Liquibase.org + http://www.liquibase.org + + 2014 + + + http://www.apache.org/licenses/LICENSE-2.0 + Apache License, Version 2.0 + + + + https://github.com/liquibase/liquibase-percona/issues + github + + + scm:git:http://github.com/liquibase/liquibase-percona.git + https://github.com/liquibase/liquibase-percona + HEAD + + + + adangel + Andreas Dangel + andreas.dangel at adangel.org + +1 + + + UTF-8 + - 2023-11-30T12:06:43Z + 2023-11-16T08:01:37+00:00 + + 1.8 4.25.0 8.2.0 3.2.0 3.5.5 + 127.0.0.1 + + + + ${project.basedir}/src/test/ + + **/**.groovy + + + + + + + + + + + + coverage + + + env.CI + true + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco-maven-plugin.version} + + + + prepare-agent + + + + report + test + + report + + + + + + org.apache.maven.plugins + maven-source-plugin + ${maven-source-plugin.version} + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + ${maven-javadoc-plugin.version} + + false + Liquibase ${project.name} ${project.version} API + true + none + UTF-8 + ${project.build.directory} + + + + jar-javadoc + + jar + + package + + + + + com.coderplus.maven.plugins + copy-rename-maven-plugin + ${copy-rename-maven-plugin.version} + + + copy + package + + copy + + + + + ${project.basedir}/pom.xml + ${project.basedir}/target/${project.artifactId}-${project.version}.pom + + + + + + + + + release + + + env.CI + true + + @@ -483,4 +729,4 @@ - + \ No newline at end of file From 6a8f690b6b185317106a9b836db40c9ecc32b7ee Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:39:35 +0100 Subject: [PATCH 06/10] chore(pom.xml): update jacoco-maven-plugin, maven-source-plugin, maven-javadoc-plugin, and copy-rename-maven-plugin versions The jacoco-maven-plugin, maven-source-plugin, maven-javadoc-plugin, and copy-rename-maven-plugin versions were updated to 0.8.10, 3.3.0, 3.6.0, and 1.0.1 respectively. This update ensures that the project uses the latest versions of these plugins, which may include bug fixes, performance improvements, or new features. --- pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pom.xml b/pom.xml index 209390f7..f7ad5810 100644 --- a/pom.xml +++ b/pom.xml @@ -78,6 +78,10 @@ liquibase_${project.artifactId} ${project.description} 3.0.2 + 0.8.10 + 3.3.0 + 3.6.0 + 1.0.1 From 088571c96d81a48d4a2bb7cb8bd0571c92e41362 Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:58:16 +0100 Subject: [PATCH 07/10] fix workflows --- pom.xml | 469 +------------------------------------------------------- 1 file changed, 7 insertions(+), 462 deletions(-) diff --git a/pom.xml b/pom.xml index f7ad5810..fb2d0b67 100644 --- a/pom.xml +++ b/pom.xml @@ -1,40 +1,19 @@ 4.0.0 + + + org.liquibase + liquibase-parent-pom + 0.3.3 + + org.liquibase.ext liquibase-percona 4.25.1-SNAPSHOT Liquibase Percona Extension A Liquibase extension that makes use of the percona toolkit https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change - - Liquibase.org - http://www.liquibase.org - - 2014 - - - http://www.apache.org/licenses/LICENSE-2.0 - Apache License, Version 2.0 - - - - https://github.com/liquibase/liquibase-percona/issues - github - - - scm:git:http://github.com/liquibase/liquibase-percona.git - https://github.com/liquibase/liquibase-percona - HEAD - - - - adangel - Andreas Dangel - andreas.dangel at adangel.org - +1 - - UTF-8 @@ -68,20 +47,6 @@ true ${project.basedir}/.cache ../sharedScripts/setup - liquibase - https://sonarcloud.io - git - true - src/main/java - src/test/java - target/site/jacoco/jacoco.xml - liquibase_${project.artifactId} - ${project.description} - 3.0.2 - 0.8.10 - 3.3.0 - 3.6.0 - 1.0.1 @@ -148,429 +113,9 @@ raw.githubusercontent.com/liquibase/liquibase-percona/main/src/main/resources - - - - - maven-compiler-plugin - 3.11.0 - - - maven-deploy-plugin - 3.1.1 - - - maven-enforcer-plugin - 3.4.1 - - - maven-gpg-plugin - 3.1.0 - - - maven-invoker-plugin - 3.6.0 - - - maven-jar-plugin - 3.3.0 - - - maven-javadoc-plugin - 3.6.2 - - - maven-pmd-plugin - 3.21.2 - - - maven-resources-plugin - 3.3.1 - - - maven-source-plugin - 3.3.0 - - - maven-surefire-plugin - 3.2.2 - - - com.github.spotbugs - spotbugs-maven-plugin - 4.8.1.0 - - spotbugs-exclusions.xml - - - - io.fabric8 - docker-maven-plugin - 0.43.4 - - - org.codehaus.mojo - build-helper-maven-plugin - 3.4.0 - - - org.codehaus.mojo - exec-maven-plugin - 3.1.1 - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - - - - - - - maven-compiler-plugin - - ${java.version} - ${java.version} - true - true - - - - - maven-enforcer-plugin - - - enforce-java - compile - - enforce - - - - - ${java.version} - - - - - - - - - maven-jar-plugin - - - - true - - - - - - - maven-pmd-plugin - - ${java.version} - true - false - - - - pmd - - check - cpd-check - - - - - - - maven-surefire-plugin - - true - plain - - - - default-test - test - - test - - - - **/*Test.java - - - - - integration-tests - integration-test - - test - - - - **/*IT.java - - - - - - - - com.github.spotbugs - spotbugs-maven-plugin - - - spotbugs - - check - - - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - true - - sonatype-nexus-staging - https://oss.sonatype.org/ - true - - - - - - sonatype-nexus-staging - Nexus Release Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - sonatype-nexus-staging - Sonatype Nexus Snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - - - snapshot - - 4.24.0 - - - true - - - - - org.liquibase.ext - liquibase-sdk-maven-plugin - 0.10.20 - - ${env.GITHUB_TOKEN} - - - - org.codehaus.gmavenplus - gmavenplus-plugin - ${gmavenplus-plugin.version} - - - - addSources - addTestSources - compile - compileTests - removeStubs - removeTestStubs - - - - - - ${project.basedir}/src/test/ - - **/**.groovy - - - - - - - - - - - - coverage - - - env.CI - true - - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco-maven-plugin.version} - - - - prepare-agent - - - - report - test - - report - - - - - - org.apache.maven.plugins - maven-source-plugin - ${maven-source-plugin.version} - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - ${maven-javadoc-plugin.version} - - false - Liquibase ${project.name} ${project.version} API - true - none - UTF-8 - ${project.build.directory} - - - - jar-javadoc - - jar - - package - - - - - com.coderplus.maven.plugins - copy-rename-maven-plugin - ${copy-rename-maven-plugin.version} - - - copy - package - - copy - - - - - ${project.basedir}/pom.xml - ${project.basedir}/target/${project.artifactId}-${project.version}.pom - - - - - - - - - - - - release - - - env.CI - true - - - - - - org.apache.maven.plugins - maven-source-plugin - - - attach-sources - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-javadoc-plugin - - false - Liquibase CDI ${project.version} API - true - none - ${project.basedir}/target - - true - - - - jar-javadoc - - jar - - - - - - org.apache.maven.plugins - maven-gpg-plugin - - ${env.GPG_PASSPHRASE} - - - --batch - --no-tty - --pinentry-mode - loopback - - - - - sign-artifacts - - sign - - - - - - - run-its From 459b56336a93f6c4dcc1fde4c848a088c760c1f8 Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 13:59:01 +0100 Subject: [PATCH 08/10] chore(pom.xml): add SCM configuration for git repository The SCM configuration for the git repository was added to the pom.xml file. This allows for easier navigation to the repository and provides information about the connection and developer connection URLs. The URL was set to "https://github.com/liquibase/liquibase-percona.git" and the tag was set to "HEAD". --- pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pom.xml b/pom.xml index fb2d0b67..383a6b70 100644 --- a/pom.xml +++ b/pom.xml @@ -100,6 +100,13 @@ + + scm:git:${project.scm.url} + scm:git:${project.scm.url} + https://github.com/liquibase/liquibase-percona.git + HEAD + + From 06de065619b1f94740c606ec7619b77eabfc076c Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 14:12:25 +0100 Subject: [PATCH 09/10] fix workflows --- pom.xml | 327 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 313 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index 383a6b70..3777bf9e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,19 +1,40 @@ 4.0.0 - - - org.liquibase - liquibase-parent-pom - 0.3.3 - - org.liquibase.ext liquibase-percona 4.25.1-SNAPSHOT Liquibase Percona Extension A Liquibase extension that makes use of the percona toolkit https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change + + Liquibase.org + http://www.liquibase.org + + 2014 + + + http://www.apache.org/licenses/LICENSE-2.0 + Apache License, Version 2.0 + + + + https://github.com/liquibase/liquibase-percona/issues + github + + + scm:git:http://github.com/liquibase/liquibase-percona.git + https://github.com/liquibase/liquibase-percona + HEAD + + + + adangel + Andreas Dangel + andreas.dangel at adangel.org + +1 + + UTF-8 @@ -47,6 +68,15 @@ true ${project.basedir}/.cache ../sharedScripts/setup + liquibase + https://sonarcloud.io + git + true + src/main/java + src/test/java + target/site/jacoco/jacoco.xml + liquibase_${project.artifactId} + ${project.description} @@ -100,13 +130,6 @@ - - scm:git:${project.scm.url} - scm:git:${project.scm.url} - https://github.com/liquibase/liquibase-percona.git - HEAD - - @@ -120,9 +143,285 @@ raw.githubusercontent.com/liquibase/liquibase-percona/main/src/main/resources + + + + + maven-compiler-plugin + 3.11.0 + + + maven-deploy-plugin + 3.1.1 + + + maven-enforcer-plugin + 3.4.1 + + + maven-gpg-plugin + 3.1.0 + + + maven-invoker-plugin + 3.6.0 + + + maven-jar-plugin + 3.3.0 + + + maven-javadoc-plugin + 3.6.2 + + + maven-pmd-plugin + 3.21.2 + + + maven-resources-plugin + 3.3.1 + + + maven-source-plugin + 3.3.0 + + + maven-surefire-plugin + 3.2.2 + + + com.github.spotbugs + spotbugs-maven-plugin + 4.8.1.0 + + spotbugs-exclusions.xml + + + + io.fabric8 + docker-maven-plugin + 0.43.4 + + + org.codehaus.mojo + build-helper-maven-plugin + 3.4.0 + + + org.codehaus.mojo + exec-maven-plugin + 3.1.1 + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + + + + + + + maven-compiler-plugin + + ${java.version} + ${java.version} + true + true + + + + + maven-enforcer-plugin + + + enforce-java + compile + + enforce + + + + + ${java.version} + + + + + + + + + maven-jar-plugin + + + + true + + + + + + + maven-pmd-plugin + + ${java.version} + true + false + + + + pmd + + check + cpd-check + + + + + + + maven-surefire-plugin + + true + plain + + + + default-test + test + + test + + + + **/*Test.java + + + + + integration-tests + integration-test + + test + + + + **/*IT.java + + + + + + + + com.github.spotbugs + spotbugs-maven-plugin + + + spotbugs + + check + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + true + + sonatype-nexus-staging + https://oss.sonatype.org/ + true + + + + + + sonatype-nexus-staging + Nexus Release Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2 + + + sonatype-nexus-staging + Sonatype Nexus Snapshots + https://oss.sonatype.org/content/repositories/snapshots + + + + + + release + + + + org.apache.maven.plugins + maven-source-plugin + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + + false + Liquibase CDI ${project.version} API + true + none + ${project.basedir}/target + + true + + + + jar-javadoc + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + + ${env.GPG_PASSPHRASE} + + + --batch + --no-tty + --pinentry-mode + loopback + + + + + sign-artifacts + + sign + + + + + + + run-its From 1b9d9a7fd4fa9418be297cca9c384d9c173f190f Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 14:17:22 +0100 Subject: [PATCH 10/10] chore(pom.xml): remove unused build-helper-maven-plugin to simplify build process feat(pom.xml): add build-helper-maven-plugin to attach the original pom.xml as an artifact during the initialize phase --- pom.xml | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 3777bf9e..ad155664 100644 --- a/pom.xml +++ b/pom.xml @@ -207,11 +207,6 @@ docker-maven-plugin 0.43.4 - - org.codehaus.mojo - build-helper-maven-plugin - 3.4.0 - org.codehaus.mojo exec-maven-plugin @@ -226,6 +221,29 @@ + + org.codehaus.mojo + build-helper-maven-plugin + 3.4.0 + + + attach-pom + initialize + + attach-artifact + + + + + ${project.basedir}/pom.xml + pom + original + + + + + + maven-compiler-plugin