From fac60a6cfcc4548c65b2fa6a251b1aa5c2291fca Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 14:17:52 +0100 Subject: [PATCH 1/2] [maven-release-plugin] prepare release liquibase-percona-4.25.1 --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index ad155664..6f4c4877 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 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 @@ -25,7 +25,7 @@ scm:git:http://github.com/liquibase/liquibase-percona.git https://github.com/liquibase/liquibase-percona - HEAD + liquibase-percona-4.25.1 From a8556d434e27344beb344b7869b385b93419488c Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 30 Nov 2023 14:41:27 +0100 Subject: [PATCH 2/2] chore(pom.xml): update version from 4.25.1 to 4.25.1-SNAPSHOT for the liquibase-percona artifact to indicate it is a development version chore(pom.xml): update scm tag to use HEAD instead of specific version to always point to the latest commit in the repository chore(pom.xml): add copy-rename-maven-plugin version 1.0.1 to the properties section for future use chore(pom.xml): remove build-helper-maven-plugin from the plugins section as it is no longer needed chore(pom.xml): add build-helper-maven-plugin version 3.4.0 to the plugins section for future use chore(pom.xml): remove attach-pom execution from build-helper-maven-plugin as it is no longer needed chore(pom.xml): remove unused plugins from the plugins section chore(pom.xml): add coverage profile to enable code coverage tools and generate reports when running in a CI environment chore(pom.xml): add copy-rename-maven-plugin to the coverage profile to copy the pom.xml file to the target directory with the version appended chore(pom.xml): add release profile to enable release-related plugins and configurations when running in a CI environment chore(pom.xml): add copy-rename-maven-plugin to the release profile to copy the pom.xml file to the target directory with the version appended chore(pom.xml): add remote-repositories profile to enable remote repositories for CI environment chore(pom.xml): add liquibase and liquibase-pro repositories to the remote-repositories profile to fetch artifacts from GitHub Packages --- pom.xml | 181 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 142 insertions(+), 39 deletions(-) diff --git a/pom.xml b/pom.xml index 6f4c4877..17c95364 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 org.liquibase.ext liquibase-percona - 4.25.1 + 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 @@ -25,7 +25,7 @@ scm:git:http://github.com/liquibase/liquibase-percona.git https://github.com/liquibase/liquibase-percona - liquibase-percona-4.25.1 + HEAD @@ -77,6 +77,7 @@ target/site/jacoco/jacoco.xml liquibase_${project.artifactId} ${project.description} + 1.0.1 @@ -207,6 +208,11 @@ docker-maven-plugin 0.43.4 + + org.codehaus.mojo + build-helper-maven-plugin + 3.4.0 + org.codehaus.mojo exec-maven-plugin @@ -221,29 +227,6 @@ - - org.codehaus.mojo - build-helper-maven-plugin - 3.4.0 - - - attach-pom - initialize - - attach-artifact - - - - - ${project.basedir}/pom.xml - pom - original - - - - - - maven-compiler-plugin @@ -377,9 +360,104 @@ + + 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 + + @@ -416,24 +494,24 @@ - org.apache.maven.plugins - maven-gpg-plugin - - ${env.GPG_PASSPHRASE} - - - --batch - --no-tty - --pinentry-mode - loopback - - + com.coderplus.maven.plugins + copy-rename-maven-plugin + ${copy-rename-maven-plugin.version} - sign-artifacts + copy + package - sign + copy + + + + ${project.basedir}/pom.xml + ${project.basedir}/target/${project.artifactId}-${project.version}.pom + + + @@ -601,5 +679,30 @@ + + remote-repositories + + + env.CI + true + + + + + liquibase + https://maven.pkg.github.com/liquibase/liquibase + + true + + + + liquibase-pro + https://maven.pkg.github.com/liquibase/liquibase-pro + + true + + + + \ No newline at end of file