Skip to content

Commit

Permalink
Merge pull request #388 from liquibase/update-workflows
Browse files Browse the repository at this point in the history
Update workflows
  • Loading branch information
jandroav authored Nov 30, 2023
2 parents 76d11e4 + 1b9d9a7 commit a07b187
Showing 1 changed file with 132 additions and 13 deletions.
145 changes: 132 additions & 13 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<parent>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-parent-pom</artifactId>
<version>0.3.3</version>
</parent>

<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-percona</artifactId>
<version>4.25.1-SNAPSHOT</version>
<name>Liquibase Percona Extension</name>
<description>A Liquibase extension that makes use of the percona toolkit</description>
<url>https://liquibase.jira.com/wiki/display/CONTRIB/Percona+Online+Schema+Change</url>
<organization>
<name>Liquibase.org</name>
<url>http://www.liquibase.org</url>
</organization>
<inceptionYear>2014</inceptionYear>
<licenses>
<license>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<name>Apache License, Version 2.0</name>
</license>
</licenses>
<issueManagement>
<url>https://github.com/liquibase/liquibase-percona/issues</url>
<system>github</system>
</issueManagement>
<scm>
<connection>scm:git:http://github.com/liquibase/liquibase-percona.git</connection>
<url>https://github.com/liquibase/liquibase-percona</url>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<id>adangel</id>
<name>Andreas Dangel</name>
<email>andreas.dangel at adangel.org</email>
<timezone>+1</timezone>
</developer>
</developers>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<!-- Note: this needs to be updated for each release: "date -u -Iseconds" -->
<project.build.outputTimestamp>2023-11-16T08:01:37+00:00</project.build.outputTimestamp>

<java.version>1.8</java.version>
<liquibase.version>4.25.0</liquibase.version>
<mysql.connector.version>8.2.0</mysql.connector.version>
<mariadb.connector.version>3.2.0</mariadb.connector.version>
<percona.toolkit.version>3.5.5</percona.toolkit.version>

<config_host>127.0.0.1</config_host>
<!--
Docker will choose a random free port for the mysql instance
Expand All @@ -37,10 +63,20 @@
<config_dbname>testdb</config_dbname>
<mysql_image>mysql:8.2</mysql_image>
<mariadb_image>mariadb:11</mariadb_image>

<docker.removeVolumes>true</docker.removeVolumes>
<percona.toolkit.usecache>true</percona.toolkit.usecache>
<percona.toolkit.cachedir>${project.basedir}/.cache</percona.toolkit.cachedir>
<itPrebuildHookScript>../sharedScripts/setup</itPrebuildHookScript>
<sonar.organization>liquibase</sonar.organization>
<sonar.host.url>https://sonarcloud.io</sonar.host.url>
<sonar.scm.provider>git</sonar.scm.provider>
<sonar.qualitygate.wait>true</sonar.qualitygate.wait>
<sonar.sources>src/main/java</sonar.sources>
<sonar.tests>src/test/java</sonar.tests>
<sonar.coverage.jacoco.xmlReportPaths>target/site/jacoco/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.projectKey>liquibase_${project.artifactId}</sonar.projectKey>
<sonar.projectDescription>${project.description}</sonar.projectDescription>
</properties>

<dependencies>
Expand Down Expand Up @@ -171,11 +207,6 @@
<artifactId>docker-maven-plugin</artifactId>
<version>0.43.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
Expand All @@ -190,6 +221,70 @@
</pluginManagement>

<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>attach-pom</id>
<phase>initialize</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<file>${project.basedir}/pom.xml</file>
<type>pom</type>
<classifier>original</classifier>
</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<optimize>true</optimize>
<debug>true</debug>
</configuration>
</plugin>

<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java</id>
<phase>compile</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>${java.version}</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</plugin>

<plugin>
<artifactId>maven-pmd-plugin</artifactId>
<configuration>
Expand Down Expand Up @@ -254,9 +349,33 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
</plugins>
</build>

<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-staging</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>

<profiles>
<profile>
<!-- Required for deployment to Sonatype -->
Expand Down Expand Up @@ -483,4 +602,4 @@
</build>
</profile>
</profiles>
</project>
</project>

0 comments on commit a07b187

Please sign in to comment.